forked from AuroraMiddleware/gtk
Use case-insensitive comparison. Fixes XIM module loading on AIX.
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkimmodule.c (match_locale): Use case-insensitive comparison. Fixes XIM module loading on AIX. (#131277)
This commit is contained in:
parent
f94e21be43
commit
9f13de7e04
@ -1,3 +1,8 @@
|
||||
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimmodule.c (match_locale): Use case-insensitive
|
||||
comparison. Fixes XIM module loading on AIX. (#131277)
|
||||
|
||||
Mon Mar 1 23:59:18 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimmodule.c (match_locale): Use case-insensitive
|
||||
comparison. Fixes XIM module loading on AIX. (#131277)
|
||||
|
||||
Mon Mar 1 23:59:18 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimmodule.c (match_locale): Use case-insensitive
|
||||
comparison. Fixes XIM module loading on AIX. (#131277)
|
||||
|
||||
Mon Mar 1 23:59:18 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimmodule.c (match_locale): Use case-insensitive
|
||||
comparison. Fixes XIM module loading on AIX. (#131277)
|
||||
|
||||
Mon Mar 1 23:59:18 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimmodule.c (match_locale): Use case-insensitive
|
||||
comparison. Fixes XIM module loading on AIX. (#131277)
|
||||
|
||||
Mon Mar 1 23:59:18 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
|
||||
|
@ -517,10 +517,10 @@ match_locale (const gchar *locale,
|
||||
if (strcmp (against, "*") == 0)
|
||||
return 1;
|
||||
|
||||
if (strcmp (locale, against) == 0)
|
||||
if (g_ascii_strcasecmp (locale, against) == 0)
|
||||
return 4;
|
||||
|
||||
if (strncmp (locale, against, 2) == 0)
|
||||
if (g_ascii_strncasecmp (locale, against, 2) == 0)
|
||||
return (against_len == 2) ? 3 : 2;
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user