Mercurial > vim
diff src/screen.c @ 11:4424b47a0797
updated for version 7.0003
author | vimboss |
---|---|
date | Wed, 30 Jun 2004 16:16:41 +0000 |
parents | 3fc0f57ecb91 |
children | bdeee1504ac1 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -2594,7 +2594,7 @@ win_line(wp, lnum, startrow, endrow) #endif #define WL_LINE WL_SBR + 1 /* text in the line */ int draw_state = WL_START; /* what to draw next */ -#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) +#if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE)) int feedback_col = 0; int feedback_old_attr = -1; #endif @@ -3785,7 +3785,7 @@ win_line(wp, lnum, startrow, endrow) && (search_attr == 0 || char_attr != search_attr)) char_attr = extra_attr; -#if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) +#if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE)) /* XIM don't send preedit_start and preedit_end, but they send * preedit_changed and commit. Thus Vim can't set "im_is_active", use * im_is_preediting() here. */