summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-22 18:43:19 +0000
committerpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-22 18:43:19 +0000
commitca381af64cac2047edc08da654754b42861e7501 (patch)
treeba40a4ce9049eddf2ea30375a65831231a93c9f0
parent62d9873ece9761ffb8b11162af69ecd7cfdaf45e (diff)
- 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
-rw-r--r--src/lingot-config.c2
1 files changed, 1 insertions, 1 deletions
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)
{