Mercurial > vim
diff src/screen.c @ 2520:6768ebd0bc04 vim73
Remove unused code.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 08 Aug 2010 16:38:42 +0200 |
parents | 6d6378ba18cb |
children | 37d3f90f5203 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -9429,18 +9429,13 @@ showmode() { MSG_PUTS_ATTR("--", attr); #if defined(FEAT_XIM) -# if 0 /* old version, changed by SungHyun Nam July 2008 */ - if (xic != NULL && im_get_status() && !p_imdisable - && curbuf->b_p_iminsert == B_IMODE_IM) + if ( +# ifdef FEAT_GUI_GTK + preedit_get_status() # else - if ( -# ifdef FEAT_GUI_GTK - preedit_get_status() -# else im_get_status() -# endif +# endif ) -# endif # ifdef FEAT_GUI_GTK /* most of the time, it's not XIM being used */ MSG_PUTS_ATTR(" IM", attr); # else