From: handa Date: Fri, 22 Oct 2004 05:43:00 +0000 (+0000) Subject: (update_candidate): Renamed from udpate_candidate. X-Git-Tag: REL-1-2-0~104 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3641c75f0867a415ae721a095ae61b986e456bc8;p=m17n%2Fm17n-lib.git (update_candidate): Renamed from udpate_candidate. (take_action_list): Show more debugging info on arithmetic commands. --- diff --git a/src/input.c b/src/input.c index 46512b2..ffe2441 100644 --- a/src/input.c +++ b/src/input.c @@ -984,7 +984,7 @@ new_index (MInputContext *ic, int current, int limit, MSymbol sym, MText *mt) } static void -udpate_candidate (MInputContext *ic, MTextProperty *prop, int idx) +update_candidate (MInputContext *ic, MTextProperty *prop, int idx) { int from = mtext_property_start (prop); int to = mtext_property_end (prop); @@ -1154,7 +1154,7 @@ take_action_list (MInputContext *ic, MPlist *action_list) ingroup_index = len - 1; idx += ingroup_index; } - udpate_candidate (ic, prop, idx); + update_candidate (ic, prop, idx); } else if (name == Mshow) ic->candidate_show = 1; @@ -1307,6 +1307,7 @@ take_action_list (MInputContext *ic, MPlist *action_list) else val1 /= val2; mplist_put (ic_info->vars, sym, (void *) val1); + MDEBUG_PRINT2 ("(%s=%d)", MSYMBOL_NAME (sym), val1); } else if (name == Mequal || name == Mless || name == Mgreater) {