From ca381af64cac2047edc08da654754b42861e7501 Mon Sep 17 00:00:00 2001 From: pp Date: Sat, 22 Mar 2008 18:43:19 +0000 Subject: - 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 --- src/lingot-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3