[gcompris] core, bug fix, broken lang selector for catalan



commit 27441f1941639d0c6e1c1dd8bc510a4e3b6e2e2e
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Thu Oct 18 02:09:18 2012 +0200

    core, bug fix, broken lang selector for catalan
    
    All languages starting with a C was not selectable in our
    language selector.

 src/gcompris/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcompris/config.c b/src/gcompris/config.c
index 1fec3c7..5f60d15 100644
--- a/src/gcompris/config.c
+++ b/src/gcompris/config.c
@@ -500,7 +500,7 @@ gc_locale_get_name(const gchar *locale_code)
   if ( !locale )
     return NULL;
 
-  if( !g_ascii_strncasecmp(locale, "C", 1) )
+  if( !g_ascii_strcasecmp(locale, "C") )
       locale = GC_DEFAULT_LOCALE;
 
   /*



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