aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d5a3c9f..86fa459 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.9.9f Dec 07, 2004
+0.9.9f Dec 10, 2004
+ * updated setlocale() call to set category to LC_ALL, thanks Piotr Simon
* updated documentation
0.9.9e Dec 07, 2004
diff --git a/src/main.c b/src/main.c
index 3859dec..04cf4de 100644
--- a/src/main.c
+++ b/src/main.c
@@ -68,7 +68,7 @@ int main( int argc, char *argv[] ){
setbuf(stdout,NULL);
#ifdef ENABLE_NLS
- setlocale(LC_MESSAGES,getenv("LANG"));
+ setlocale(LC_ALL,"");
bindtextdomain(PROGRAM_NAME,LOCALESDIR);
textdomain(PROGRAM_NAME);
#endif