X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsettings.c;h=f9c65fc8c4ee61f53eb2c4cc3db9af21a6f49417;hb=ccead09ac2bc67bbaa40e67904f6c48f7cdf6700;hp=a87e3eff800f78a552232125fbec7af7ebe67527;hpb=ee7be3e962a4faba54d7bc01364365b51167242c;p=pspp-builds.git diff --git a/src/data/settings.c b/src/data/settings.c index a87e3eff..f9c65fc8 100644 --- a/src/data/settings.c +++ b/src/data/settings.c @@ -22,9 +22,9 @@ #include "format.h" #include "value.h" #include "xalloc.h" -#include #include #include +#include #include "error.h" @@ -147,15 +147,15 @@ settings_init (int *width, int *length) { init_viewport (width, length); settings_set_epoch (-1); - i18n_init (); the_settings.styles = fmt_create (); + + settings_set_decimal_char (get_system_decimal ()); } void settings_done (void) { fmt_done (the_settings.styles); - i18n_done (); } /* Returns the floating-point format used for RB and RBHEX