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



commit 2b7aa867c897b1728c68b7df32c305b6b3ecdfab
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]