[gnome-desktop] test-languages: Fix to actually set the locale



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

    test-languages: Fix to actually set the locale
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693774

 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]