X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-roc.c;fp=src%2Fui%2Fgui%2Fpsppire-dialog-action-roc.c;h=2a8deedd53a34147c789560e4d7a348e102dc3d5;hb=064e63444113026f99a518bf1ec77da5eb6b036b;hp=23c6cae24ce1bab8eed7c38391a7837809c128ef;hpb=12b9efe4bcd6ef6e5a87df9108e4ba49182730b4;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-roc.c b/src/ui/gui/psppire-dialog-action-roc.c index 23c6cae24c..2a8deedd53 100644 --- a/src/ui/gui/psppire-dialog-action-roc.c +++ b/src/ui/gui/psppire-dialog-action-roc.c @@ -186,8 +186,8 @@ generate_syntax (const PsppireDialogAction *a) struct string str; ds_init_empty (&str); - syntax_gen_value (&str, &val, var_get_width (var), - var_get_print_format (var)); + struct fmt_spec f = var_get_print_format (var); + syntax_gen_value (&str, &val, var_get_width (var), &f); g_string_append (string, ds_cstr (&str)); ds_destroy (&str);