X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.c;h=d670002a467fc741bacafd4480f63782e97ef7b6;hp=4ec4bb0c1a9601601b0e02b2f1cc2b7a185856f6;hb=a5097a183f00ab2d2dc538ba7094a4696e2fea04;hpb=4a8a4cd81b9d7d9e6b757be4d0a8a62b48325051 diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index 4ec4bb0c..d670002a 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -63,6 +63,7 @@ value_to_text (union value v, const PsppireDict *dict, struct fmt_spec format) gboolean text_to_value (const gchar *text, union value *v, + const PsppireDict *dict, struct fmt_spec format) { bool ok; @@ -86,6 +87,7 @@ text_to_value (const gchar *text, union value *v, msg_disable (); ok = data_in (ss_cstr (text), LEGACY_NATIVE, format.type, 0, 0, 0, + dict->dict, v, fmt_var_width (&format)); msg_enable ();