projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug encodig missing value keys in gui
[pspp-builds.git]
/
src
/
ui
/
gui
/
helper.c
diff --git
a/src/ui/gui/helper.c
b/src/ui/gui/helper.c
index 4ec4bb0c1a9601601b0e02b2f1cc2b7a185856f6..ff750b25f7aa6ffe3b6a99e55a2d014791bcf5d8 100644
(file)
--- 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,
gboolean
text_to_value (const gchar *text, union value *v,
+ const PsppireDict *dict,
struct fmt_spec format)
{
bool ok;
struct fmt_spec format)
{
bool ok;
@@
-85,7
+86,8
@@
text_to_value (const gchar *text, union value *v,
}
msg_disable ();
}
msg_disable ();
- ok = data_in (ss_cstr (text), LEGACY_NATIVE, format.type, 0, 0, 0,
+ ok = data_in (ss_cstr (text), UTF8, format.type, 0, 0, 0,
+ dict->dict,
v, fmt_var_width (&format));
msg_enable ();
v, fmt_var_width (&format));
msg_enable ();