projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a dict parameter to data_in and dealt with the consequences.
[pspp-builds.git]
/
src
/
ui
/
syntax-gen.c
diff --git
a/src/ui/syntax-gen.c
b/src/ui/syntax-gen.c
index e853c5692780463beed4a27887ffdda079dd93df..22e717ac965903acdb5a8b12f95e5e3dd6492832 100644
(file)
--- a/
src/ui/syntax-gen.c
+++ b/
src/ui/syntax-gen.c
@@
-150,10
+150,11
@@
syntax_gen_number (struct string *output,
bool ok;
v_in.f = number;
bool ok;
v_in.f = number;
- s = data_out (&v_in, format);
+ s = data_out (&v_in,
"FIXME",
format);
msg_disable ();
msg_disable ();
+ /* FIXME: UTF8 encoded strings will fail here */
ok = data_in (ss_cstr (s), LEGACY_NATIVE,
ok = data_in (ss_cstr (s), LEGACY_NATIVE,
- format->type, false, 0, 0, &v_out, 0);
+ format->type, false, 0, 0,
NULL,
&v_out, 0);
msg_enable ();
if (ok && v_out.f == number)
{
msg_enable ();
if (ok && v_out.f == number)
{