Set the DECIMAL point character from the LC_NUMERIC
[pspp-builds.git] / src / data / settings.c
index a87e3eff800f78a552232125fbec7af7ebe67527..ad509fb028059a6c6d3af86445a1bdb9e744ce08 100644 (file)
@@ -149,6 +149,8 @@ settings_init (int *width, int *length)
   settings_set_epoch (-1);
   i18n_init ();
   the_settings.styles = fmt_create ();
+
+  settings_set_decimal_char (get_system_decimal ());
 }
 
 void