From 09092155a66388bbd7be8d16debb35abfcfae700 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 8 Aug 2010 16:38:42 +0200 Subject: Remove unused code. --- src/screen.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 7b8a757ff..a933d6cb0 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 -- cgit v1.2.1