@@ -94,7 +94,7 @@ static void draw_cmdline __ARGS((int start, int len));
9494static void save_cmdline __ARGS ((struct cmdline_info * ccp ));
9595static void restore_cmdline __ARGS ((struct cmdline_info * ccp ));
9696static int cmdline_paste __ARGS ((int regname , int literally , int remcr ));
97- #if defined(FEAT_XIM ) && ( defined(FEAT_GUI_GTK ) || defined( FEAT_GUI_MACVIM ) )
97+ #if defined(FEAT_XIM ) && defined(FEAT_GUI_GTK )
9898static void redrawcmd_preedit __ARGS ((void ));
9999#endif
100100#ifdef FEAT_WILDMENU
@@ -2504,7 +2504,7 @@ cmdline_getvcol_cursor()
25042504}
25052505#endif
25062506
2507- #if defined(FEAT_XIM ) && ( defined(FEAT_GUI_GTK ) || defined( FEAT_GUI_MACVIM ) )
2507+ #if defined(FEAT_XIM ) && defined(FEAT_GUI_GTK )
25082508/*
25092509 * If part of the command line is an IM preedit string, redraw it with
25102510 * IM feedback attributes. The cursor position is restored after drawing.
@@ -2513,9 +2513,7 @@ cmdline_getvcol_cursor()
25132513redrawcmd_preedit ()
25142514{
25152515 if ((State & CMDLINE )
2516- # ifndef FEAT_GUI_MACVIM
25172516 && xic != NULL
2518- # endif
25192517 /* && im_get_status() doesn't work when using SCIM */
25202518 && !p_imdisable
25212519 && im_is_preediting ())
@@ -2576,7 +2574,7 @@ redrawcmd_preedit()
25762574 msg_col = old_col ;
25772575 }
25782576}
2579- #endif /* FEAT_XIM && ( FEAT_GUI_GTK || FEAT_GUI_MACVIM) */
2577+ #endif /* FEAT_XIM && FEAT_GUI_GTK */
25802578
25812579/*
25822580 * Allocate a new command line buffer.
@@ -3312,7 +3310,7 @@ cursorcmd()
33123310 }
33133311
33143312 windgoto (msg_row , msg_col );
3315- #if defined(FEAT_XIM ) && ( defined(FEAT_GUI_GTK ) || defined( FEAT_GUI_MACVIM ) )
3313+ #if defined(FEAT_XIM ) && defined(FEAT_GUI_GTK )
33163314 redrawcmd_preedit ();
33173315#endif
33183316#ifdef MCH_CURSOR_SHAPE
0 commit comments