Properly display ampersand characters in dictionary view widgets fc11-i386-build33 fc11-x64-build30 lenny-x64-build54 sid-i386-build102
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 13 Nov 2009 20:55:07 +0000 (21:55 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Fri, 13 Nov 2009 20:55:07 +0000 (21:55 +0100)
src/ui/gui/psppire-dictview.c

index 243d907826f909a933f1fe8a73478b888da83c5c..f1a168de9f39081dc4110f03a9943d54bf0531e7 100644 (file)
@@ -336,7 +336,7 @@ var_description_cell_data_func (GtkTreeViewColumn *col,
 
   if ( var_has_label (var) && dv->prefer_labels)
     {
-      gchar *text = g_strdup_printf (
+      gchar *text = g_markup_printf_escaped (
                                     "<span stretch=\"condensed\">%s</span>",
                                     var_get_label (var));