Revision: 6433 Author: ek.kato Date: Thu Jun 10 02:04:28 2010 Log: * fep/callbacks.c (callbacks_winch) : Bug fix.
http://code.google.com/p/uim/source/detail?r=6433 Modified: /trunk/fep/callbacks.c ======================================= --- /trunk/fep/callbacks.c Thu Jun 3 00:00:16 2010 +++ /trunk/fep/callbacks.c Thu Jun 10 02:04:28 2010 @@ -1068,6 +1068,8 @@ void callbacks_winch(void) { + int current_index; + start_callbacks(); s_max_width = g_win->ws_col; @@ -1096,7 +1098,14 @@ free(s_candidate.index_col); s_candidate.index_col = NULL; } - + if (s_candidate.cand_col != NULL) { + free(s_candidate.cand_col); + s_candidate.cand_col = NULL; + } + + current_index = s_candidate.index; + init_candidate(s_candidate.nr, s_candidate.limit); + s_candidate.index = current_index; make_page_strs(); }
