[SCIM] patch to scim-m17n

James Su suzhe at tsinghua.org.cn
Tue Aug 24 07:38:28 PDT 2004


Thank you. Applied.

yusuke at cherubim.icw.co.jp wrote:

>Hi James
>
>Please apply following patch (maybe with style modifications) to scim-m17n.
>imlist variable will be NULL, if user forget to install m17n-db.
>I got reports to uim and applied almost same fix.
>
>Index: scim_m17n_imengine.cpp
>===================================================================
>RCS file: /cvsroot/scim/scim-m17n/src/scim_m17n_imengine.cpp,v
>retrieving revision 1.7
>diff -c -r1.7 scim_m17n_imengine.cpp
>*** scim_m17n_imengine.cpp	21 Jun 2004 07:26:23 -0000	1.7
>--- scim_m17n_imengine.cpp	24 Aug 2004 14:07:14 -0000
>***************
>*** 177,183 ****
>  
>          imlist = mdatabase_list(msymbol("input-method"), Mnil, Mnil, Mnil);
>  
>!         for (elm = imlist; mplist_key(elm) != Mnil; elm = mplist_next(elm)) {
>              MDatabase *mdb = (MDatabase *) mplist_value(elm);
>              MSymbol *tag = mdatabase_tag(mdb);
>              if (tag[1] != Mnil) {
>--- 177,183 ----
>  
>          imlist = mdatabase_list(msymbol("input-method"), Mnil, Mnil, Mnil);
>  
>!         for (elm = imlist; elm && mplist_key(elm) != Mnil; elm = mplist_next(elm)) {
>              MDatabase *mdb = (MDatabase *) mplist_value(elm);
>              MSymbol *tag = mdatabase_tag(mdb);
>              if (tag[1] != Mnil) {
>_______________________________________________
>scim mailing list
>scim at freedesktop.org
>http://freedesktop.org/mailman/listinfo/scim
>
>  
>



More information about the scim mailing list