Revision: 6434 Author: ek.kato Date: Thu Jun 10 02:06:41 2010 Log: * Merge r6433 from trunk.
http://code.google.com/p/uim/source/detail?r=6434 Modified: /branches/1.5/fep/callbacks.c ======================================= --- /branches/1.5/fep/callbacks.c Thu Jun 3 00:50:24 2010 +++ /branches/1.5/fep/callbacks.c Thu Jun 10 02:06:41 2010 @@ -1065,6 +1065,8 @@ void callbacks_winch(void) { + int current_index; + start_callbacks(); s_max_width = g_win->ws_col; @@ -1093,7 +1095,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(); }
