Consolidate quoting style in printed strings.
[pspp] / src / ui / gui / val-labs-dialog.c
index 14eacabfadddb5842e81f444855233b0e903ec03..68d7070ca13495a0e996f92b9ce0c812740bc3ce 100644 (file)
@@ -324,7 +324,7 @@ on_remove (GtkWidget *w, gpointer data)
   struct val_labs_dialog *dialog = data;
 
   union value value;
-  const struct val_lab *vl;
+  struct val_lab *vl;
 
   get_selected_tuple (dialog, &value, NULL);
   vl = val_labs_lookup (dialog->labs, &value);
@@ -508,7 +508,7 @@ repopulate_dialog (struct val_labs_dialog *dialog)
        value_to_text (vl->value, dialog->dict,
                      *var_get_write_format (dialog->pv));
 
-      gchar *const text = g_strdup_printf ("%s = \"%s\"",
+      gchar *const text = g_strdup_printf ("%s = `%s'",
                                           vstr, val_lab_get_label (vl));
 
       gtk_list_store_append (list_store, &iter);