diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/screen.c b/src/screen.c index 7b8a757ff8..a933d6cb0c 100644 --- 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) -# else if ( -# ifdef FEAT_GUI_GTK +# ifdef FEAT_GUI_GTK preedit_get_status() -# else +# else im_get_status() -# endif - ) # endif + ) # ifdef FEAT_GUI_GTK /* most of the time, it's not XIM being used */ MSG_PUTS_ATTR(" IM", attr); # else |