[gnome-desktop/wip/locale-info: 10/10] test-languages: Fix to actually set the locale



commit 8de13cdaa456b9029cd02decb23f8805cd22c20a
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Feb 4 19:42:05 2013 +0100

    test-languages: Fix to actually set the locale

 libgnome-desktop/test-languages.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnome-desktop/test-languages.c b/libgnome-desktop/test-languages.c
index 9de5c39..76f9cc0 100644
--- a/libgnome-desktop/test-languages.c
+++ b/libgnome-desktop/test-languages.c
@@ -12,7 +12,7 @@ int main (int argc, char **argv)
         char **locales;
         guint i;
 
-        setlocale (LC_ALL, NULL);
+        setlocale (LC_ALL, "");
         bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 
         if (argc > 1) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]