From: John Darrington Date: Fri, 13 Nov 2009 20:55:07 +0000 (+0100) Subject: Properly display ampersand characters in dictionary view widgets X-Git-Tag: fc11-i386-build33^0 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6206581792d042349f61eb2527366279ca973cc5;p=pspp-builds.git Properly display ampersand characters in dictionary view widgets --- diff --git a/src/ui/gui/psppire-dictview.c b/src/ui/gui/psppire-dictview.c index 243d9078..f1a168de 100644 --- a/src/ui/gui/psppire-dictview.c +++ b/src/ui/gui/psppire-dictview.c @@ -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 ( "%s", var_get_label (var));