From 8c9b61c3af8e46edce2a385f9591fb0c413c7678 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 15 Sep 2006 06:14:18 +0000 Subject: [PATCH] (reload_im_info): Update custom and global info. (init_ic_info): Fix previous change. --- src/input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 (); -- 1.7.10.4