ONEWAY: Fix printf format specifier.
[pspp] / src / ui / gui / t-test-options.c
index e57b29f500c1d7b2c4d624222a07af7fc0c7ce48..d4656bf4a457bc811a08219df7624e32ce610ca1 100644 (file)
@@ -25,6 +25,7 @@
 #include "t-test-options.h"
 
 #include "widget-io.h"
+#include "psppire-scanf.h"
 
 #include <gettext.h>
 #define _(msgid) gettext (msgid)
@@ -60,8 +61,7 @@ tt_options_dialog_create (GtkWindow *parent)
   tto->xml = builder_new ("t-test.ui");
 
   tto->confidence =
-    widget_scanf (_("Confidence Interval: %2d %%"),
-                 &tto->conf_percent);
+    psppire_scanf_new (_("Confidence Interval: %2d %%"), &tto->conf_percent);
 
   tto->dialog = get_widget_assert (tto->xml, "options-dialog");
 
@@ -119,7 +119,7 @@ tt_options_dialog_run (struct tt_options_dialog *tto)
 }
 
 void
-tt_options_dialog_append_syntax (struct tt_options_dialog *tto, GString *str)
+tt_options_dialog_append_syntax (const struct tt_options_dialog *tto, GString *str)
 {
   g_string_append (str, "\t/MISSING=");