From: handa Date: Fri, 15 Sep 2006 06:14:18 +0000 (+0000) Subject: (reload_im_info): Update custom and global info. X-Git-Tag: REL-1-3-4~59 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=8c9b61c3af8e46edce2a385f9591fb0c413c7678;p=m17n%2Fm17n-lib.git (reload_im_info): Update custom and global info. (init_ic_info): Fix previous change. --- diff --git a/src/input.c b/src/input.c index 2624daa..f823ec4 100644 --- a/src/input.c +++ b/src/input.c @@ -1535,9 +1535,9 @@ reload_im_info (MInputMethodInfo *im_info) int check; MPlist *plist; + update_custom_info (); + update_global_info (); check = mdatabase__check (im_info->mdb); - if (check > 0) - return 0; if (check < 0) return -1; plist = mdatabase_load (im_info->mdb); @@ -3348,7 +3348,7 @@ init_ic_info (MInputContext *ic) MPlist *pl = MPLIST_PLIST (plist); MSymbol name = MPLIST_SYMBOL (pl); - pl = MPLIST_NEXT (MPLIST_NEXT (pl)); + pl = MPLIST_NEXT (MPLIST_NEXT (MPLIST_NEXT (pl))); if (MPLIST_KEY (pl) != Mt) { MPlist *p = mplist ();