summaryrefslogtreecommitdiffstats
path: root/x11-libs/xcin/xcin-fixlocale.patch
blob: 8dbc497f37d4ff9434b4d101b205ac4174df2ec0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- xcin.orig/src/xim.c	2003-02-08 17:36:55.000000000 +0800
+++ xcin/src/xim.c	2003-02-08 17:37:20.000000000 +0800
@@ -1058,7 +1058,8 @@
     make_trigger_keys(&on_keys);
 
     if (xccore->irc->xim_name[0] == '\0') {
-        if (strcasecmp("zh_TW.Big5", locale->lc_ctype))
+        if (strcasecmp("zh_TW.Big5", locale->lc_ctype)&&
+		strcmp("zh_TW", locale->lc_ctype))
 	    snprintf(xim_name, 128, "%s-%s", DEFAULT_XIMNAME, locale->lc_ctype);
         else
 	    strncpy(xim_name, DEFAULT_XIMNAME, sizeof(xim_name));