The current gui always renders strings in the datasheet view
with the full width by adding spaces to the end of a string.
This patch renders the strings in the same way as they are rendered
in the status edit box above the cells array, i.e. trailing whitespace
is removed. Editing strings is straightforward.
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 *