aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2004-12-10 14:36:47 +0000
committerJason Woodward2004-12-10 14:36:47 +0000
commitb7fac38d22f60d67124573ce8f7e06fa8b0f7c4e (patch)
tree6366e278c8a5ed3c886154733d6d0ebb987fe2a2 /src
parentb6e574f5491fc2636d1aab56f2eb7477182e8975 (diff)
downloadslapt-get-b7fac38d22f60d67124573ce8f7e06fa8b0f7c4e.tar.gz
updated setlocale() call to set category to LC_ALL, thanks Piotr Simon
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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