aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2004-12-10 14:36:47 +0000
committerJason Woodward2004-12-10 14:36:47 +0000
commitb7fac38d22f60d67124573ce8f7e06fa8b0f7c4e (patch)
tree6366e278c8a5ed3c886154733d6d0ebb987fe2a2
parentb6e574f5491fc2636d1aab56f2eb7477182e8975 (diff)
downloadslapt-get-b7fac38d22f60d67124573ce8f7e06fa8b0f7c4e.tar.gz
updated setlocale() call to set category to LC_ALL, thanks Piotr Simon
-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