]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
fixed : config file use . as decimal separator even when LOCALE is different
[chaz/tint2] / src / tint.c
index 357c180f4506b6b67c257be0885fa39d97d80212..7388035bdb41169907abf8d2b1e12fd495fac2ef 100644 (file)
@@ -130,6 +130,8 @@ void init_X11()
        XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask);
 
        setlocale (LC_ALL, "");
+       // config file use '.' as decimal separator
+       setlocale(LC_NUMERIC, "POSIX");
 
        // load default icon
        gchar *path;
This page took 0.02604 seconds and 4 git commands to generate.