[gcompris] core, bug fix, broken lang selector for catalan
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] core, bug fix, broken lang selector for catalan
- Date: Thu, 18 Oct 2012 00:11:15 +0000 (UTC)
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]