Bug #21128. Reviewed by John Darrington.
[pspp-builds.git] / src / ui / terminal / main.c
index 9375ffc62960317cb7825fcfa0189a82e1a3ccb5..46ded354f7e392903c61d93712d0ad8baff38610 100644 (file)
@@ -107,7 +107,7 @@ main (int argc, char **argv)
   settings_init ();
   random_init ();
 
-  the_dataset = create_dataset (NULL, NULL);
+  the_dataset = create_dataset ();
 
   if (parse_command_line (argc, argv, the_source_stream))
     {
@@ -150,7 +150,9 @@ i18n_init (void)
 #if HAVE_LC_MESSAGES
   setlocale (LC_MESSAGES, "");
 #endif
-  setlocale (LC_MONETARY, "");
+#if HAVE_LC_PAPER
+  setlocale (LC_PAPER, "");
+#endif
   bindtextdomain (PACKAGE, locale_dir);
   textdomain (PACKAGE);
 #endif /* ENABLE_NLS */