projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
separate sack integration test binary
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog-action-indep-samps.c
diff --git
a/src/ui/gui/psppire-dialog-action-indep-samps.c
b/src/ui/gui/psppire-dialog-action-indep-samps.c
index 31b8cc78c98ede6dc62ccb3f75bc7e57ca243e98..974c1e97f9935ba145859aa34b8dbd9c16c71b22 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-indep-samps.c
+++ b/
src/ui/gui/psppire-dialog-action-indep-samps.c
@@
-384,8
+384,8
@@
generate_syntax (const PsppireDialogAction *a)
struct string strx;
ds_init_empty (&strx);
struct string strx;
ds_init_empty (&strx);
- s
yntax_gen_value (&strx, val, var_get_width (act->grp_var),
-
var_get_print_format (act->grp_var)
);
+ s
truct fmt_spec f = var_get_print_format (act->grp_var);
+
syntax_gen_value (&strx, val, var_get_width (act->grp_var), &f
);
g_string_append (str, ds_cstr (&strx));
ds_destroy (&strx);
g_string_append (str, ds_cstr (&strx));
ds_destroy (&strx);
@@
-399,8
+399,9
@@
generate_syntax (const PsppireDialogAction *a)
struct string strx;
ds_init_empty (&strx);
struct string strx;
ds_init_empty (&strx);
+ struct fmt_spec f = var_get_print_format (act->grp_var);
syntax_gen_value (&strx, &act->grp_val[1], var_get_width (act->grp_var),
syntax_gen_value (&strx, &act->grp_val[1], var_get_width (act->grp_var),
-
var_get_print_format (act->grp_var)
);
+
&f
);
g_string_append (str, ds_cstr (&strx));
ds_destroy (&strx);
g_string_append (str, ds_cstr (&strx));
ds_destroy (&strx);