X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Ft-test-options.c;h=17d2d525087125ad163bfa70cf080cf64a9454df;hb=5816109430eb4b71652de09cfdc2df2bc5c44655;hp=116c543f9476b857726be6e099a7fb511412cbb9;hpb=302ae07b4b1ed8217ef93c91a41107c870f1db6b;p=pspp diff --git a/src/ui/gui/t-test-options.c b/src/ui/gui/t-test-options.c index 116c543f94..17d2d52508 100644 --- a/src/ui/gui/t-test-options.c +++ b/src/ui/gui/t-test-options.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007, 2012 Free Software Foundation + Copyright (C) 2007, 2012, 2015 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -63,9 +63,9 @@ tt_options_dialog_create (GtkWindow *parent) tto->confidence = psppire_scanf_new (_("Con_fidence Interval: %2d %%"), &tto->conf_percent); - - g_object_set (tto->confidence, - "use-underline", TRUE, + + g_object_set (tto->confidence, + "use-underline", TRUE, "mnemonic-widget", psppire_scanf_get_child (PSPPIRE_SCANF (tto->confidence), 0), NULL); @@ -105,7 +105,7 @@ tt_options_dialog_run (struct tt_options_dialog *tto) { gint response; - if ( tto->excl == EXCL_ANALYSIS) + if (tto->excl == EXCL_ANALYSIS) gtk_toggle_button_set_active (tto->analysis, TRUE); else gtk_toggle_button_set_active (tto->listwise, TRUE); @@ -114,12 +114,12 @@ tt_options_dialog_run (struct tt_options_dialog *tto) response = psppire_dialog_run (PSPPIRE_DIALOG (tto->dialog)); - if ( response == PSPPIRE_RESPONSE_CONTINUE) + if (response == PSPPIRE_RESPONSE_CONTINUE) { tto->non_default_options = TRUE; tto->confidence_interval = gtk_spin_button_get_value (tto->conf_percent); - if ( gtk_toggle_button_get_active (tto->analysis) ) + if (gtk_toggle_button_get_active (tto->analysis)) tto->excl = EXCL_ANALYSIS; else tto->excl = EXCL_LISTWISE; @@ -139,7 +139,7 @@ tt_options_dialog_append_syntax (const struct tt_options_dialog *tto, GString *s else ds_put_cstr (&dss, "LISTWISE"); - ds_put_c_format (&dss, "\n\t/CRITERIA=CIN(%g)", + ds_put_c_format (&dss, "\n\t/CRITERIA=CI(%g)", tto->confidence_interval/100.0); g_string_append (str, ds_cstr (&dss));