X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-frequencies.c;h=714745ca26f7cb7c0182155aaf2ca3ef2e2c1af0;hb=033449d465fb54526d3984d55772e6a38e7d922c;hp=adca915816cd0973edc8599e215aeb6ed6c15058;hpb=e1c4d5d0f0c63ef20927ac2cd7f9ff4e7e4cf5c5;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-frequencies.c b/src/ui/gui/psppire-dialog-action-frequencies.c index adca915816..714745ca26 100644 --- a/src/ui/gui/psppire-dialog-action-frequencies.c +++ b/src/ui/gui/psppire-dialog-action-frequencies.c @@ -73,7 +73,7 @@ enum static const struct checkbox_entry_item stats[] = { -#define FS(NAME, LABEL) {#NAME, LABEL}, +#define FS(NAME, LABEL) {#NAME, LABEL, NULL}, FREQUENCY_STATS #undef FS }; @@ -184,7 +184,7 @@ on_charts_clicked (PsppireDialogActionFrequencies *fd) ret = psppire_dialog_run (PSPPIRE_DIALOG (fd->charts_dialog)); - if ( ret == PSPPIRE_RESPONSE_CONTINUE ) + if (ret == PSPPIRE_RESPONSE_CONTINUE) { fd->charts_opts_use_min = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (fd->min)); fd->charts_opts_min = gtk_spin_button_get_value (GTK_SPIN_BUTTON (fd->min_spin)); @@ -257,7 +257,7 @@ psppire_dialog_action_frequencies_activate (PsppireDialogAction *a, GVariant *pa PsppireDialogActionFrequencies *act = PSPPIRE_DIALOG_ACTION_FREQUENCIES (a); PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); - GtkBuilder *xml = builder_new ( "frequencies.ui"); + GtkBuilder *xml = builder_new ("frequencies.ui"); GtkWidget *stats_treeview = get_widget_assert (xml, "stats-treeview"); @@ -454,6 +454,8 @@ generate_syntax (const PsppireDialogAction * a) if (fd->charts_opts_pie_include_missing) ds_put_cstr (&str, " MISSING"); + else + ds_put_cstr (&str, " NOMISSING"); if (fd->charts_opts_use_min) ds_put_c_format (&str, " MIN(%.15g)", fd->charts_opts_min);