X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-var-store.c;h=ef9d978dd211342b79c118025428db92bce12249;hb=7640d70ac1a3641869d8de331594c340c9568ea2;hp=27072c1adf1f6f18304c90b23b83a92ede039613;hpb=e4285da27e87ed3f0fb662783e2ac6611cf467f3;p=pspp diff --git a/src/ui/gui/psppire-var-store.c b/src/ui/gui/psppire-var-store.c index 27072c1adf..ef9d978dd2 100644 --- a/src/ui/gui/psppire-var-store.c +++ b/src/ui/gui/psppire-var-store.c @@ -686,10 +686,14 @@ text_for_column (PsppireVarStore *vs, g_assert (vl); { + gchar *s; gchar *const vstr = value_to_text (vl->value, pv); - return g_strdup_printf (_("{%s,`%s'}_"), vstr, + s = g_strdup_printf (_("{%s,`%s'}_"), vstr, val_lab_get_escaped_label (vl)); + free (vstr); + + return s; } } }