gui: trim displayed string for string variables (spaces)
[pspp] / src / ui / gui / psppire-data-store.c
index 8ac492884c1c11b88709e809dfc56793443ff828..c780e06eb0e2dd75024e5c4059ab31a1556856f7 100644 (file)
@@ -176,7 +176,7 @@ unlabeled_value (PsppireDataStore *store, const struct variable *variable, const
     return g_strdup ("");
 
   const struct fmt_spec *fmt = var_get_print_format (variable);
-  return data_out (val, psppire_dict_encoding (store->dict),  fmt);
+  return value_to_text__ (*val, fmt, psppire_dict_encoding (store->dict));
 }
 
 gchar *