- use C locale instead of POSIX, as POSIX isn't supported on Windows

pp [2008-03-22 18:43:19]
- use C locale instead of POSIX, as POSIX isn't supported on Windows


git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@312 455248ca-bdda-0310-9134-f4ebb693071a
Filename
src/lingot-config.c
diff --git a/src/lingot-config.c b/src/lingot-config.c
index 9886ac8..e228540 100644
--- a/src/lingot-config.c
+++ b/src/lingot-config.c
@@ -145,7 +145,7 @@ void lingot_config_save(LingotConfig* config, char* filename)
     lc_all = setlocale(LC_ALL, NULL);
 // duplicate the string, as the next call to setlocale will destroy it
     if (lc_all) lc_all = strdup(lc_all);
-    setlocale(LC_ALL, "POSIX");
+    setlocale(LC_ALL, "C");

     if ((fp = fopen(filename, "w")) == NULL)
       {
ViewGit