aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index ef61117126..1ef76d516c 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -328,7 +328,7 @@ void add_to_input_buf(char_u *s, int len)
#if ((defined(FEAT_XIM) || defined(FEAT_DND)) && defined(FEAT_GUI_GTK)) \
|| defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_MAC) \
- || (defined(FEAT_MBYTE) && defined(FEAT_MBYTE_IME)) \
+ || defined(FEAT_MBYTE_IME) \
|| (defined(FEAT_GUI) && (!defined(USE_ON_FLY_SCROLL) \
|| defined(FEAT_MENU))) \
|| defined(PROTO)
@@ -494,8 +494,6 @@ void ui_cursor_shape(void)
conceal_check_cursur_line();
}
-#if defined(FEAT_GUI) || defined(FEAT_RIGHTLEFT) \
- || defined(FEAT_MBYTE) || defined(PROTO)
/*
* Check bounds for column number
*/
@@ -519,7 +517,6 @@ int check_row(int row)
return (int)screen_Rows - 1;
return row;
}
-#endif
/*
* Stuff for the X clipboard. Shared between VMS and Unix.