diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2003-10-13 19:00:58 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2003-10-13 19:00:58 +0000 |
commit | 45c5b10f4a00e0b3214de5d415b28bf021050eaa (patch) | |
tree | 98972e46cff673bfb1cfa17aa082e11ed1d0ec0c | |
parent | 7a8346dcf5987a5a6f036d981bee7775e68774d4 (diff) | |
download | enchant-45c5b10f4a00e0b3214de5d415b28bf021050eaa.tar.gz |
call setlocale
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20872 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | tests/enchant-ispell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/enchant-ispell.c b/tests/enchant-ispell.c index d6d6d4f..37af184 100644 --- a/tests/enchant-ispell.c +++ b/tests/enchant-ispell.c @@ -33,6 +33,7 @@ * for Enchant. */ +#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -355,6 +356,8 @@ int main (int argc, char ** argv) print_help (stdout, argv[0]); } else { + setlocale (LC_ALL, ""); + if (file) { fp = fopen (file, "r"); if (!fp) { |