diff options
Diffstat (limited to 'inputmethod/Chinput/patches/patch-ad')
-rw-r--r-- | inputmethod/Chinput/patches/patch-ad | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/inputmethod/Chinput/patches/patch-ad b/inputmethod/Chinput/patches/patch-ad new file mode 100644 index 00000000000..88b3844f261 --- /dev/null +++ b/inputmethod/Chinput/patches/patch-ad @@ -0,0 +1,31 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/06/15 09:31:39 shell Exp $ + +--- src/config.c.orig Mon Jun 10 22:53:45 2002 ++++ src/config.c +@@ -388,7 +388,7 @@ + if(method == cur_inputmethod) return; + + //change the encoding for later use +- if(!strcmp(chinputime[method].encoding, "GB")) ++ if(!strcmp(chinputime[method].encoding, "eucCN")) + HZServer.encoding = HZSERVER_ENCODING_GB; + else + HZServer.encoding = HZSERVER_ENCODING_BIG5; +@@ -681,7 +681,7 @@ + if(HZServer.encoding == HZSERVER_ENCODING_GB){ + for(i=0; i<index_ime; i++){ + if(!strcmp(chinputime[i].name, imd) && +- !strcmp(chinputime[i].encoding, "GB")){ ++ !strcmp(chinputime[i].encoding, "eucCN")){ + return i; + } + } +@@ -738,7 +738,7 @@ + //chinput_imserver = IMM_OpenClient("127.0.0.1", 9010); + + cur_inputmethod = id; +- if(!strcmp(chinputime[cur_inputmethod].encoding, "GB")) ++ if(!strcmp(chinputime[cur_inputmethod].encoding, "eucCN")) + HZServer.encoding = HZSERVER_ENCODING_GB; + else + HZServer.encoding = HZSERVER_ENCODING_BIG5; |