summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-16 21:35:33 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-16 21:35:33 +0100
commita5be25e1dbb6d129cb7d1efb5c73141a51836e06 (patch)
tree1c41474941810986db566d8aea1f1929ef9de37b /src/misc1.c
parente533bbe094c105884696d69e433604fd1641f988 (diff)
updated for version 7.3.864v7.3.864
Problem: Can't build without the mouse feature. Solution: Add an #ifdef. (Ike Devolder)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 94c2b4176b..c1cc89cb69 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3405,7 +3405,9 @@ get_keystroke()
n = TO_SPECIAL(buf[1], buf[2]);
if (buf[1] == KS_MODIFIER
|| n == K_IGNORE
+#ifdef FEAT_MOUSE
|| (is_mouse_key(n) && n != K_LEFTMOUSE)
+#endif
#ifdef FEAT_GUI
|| n == K_VER_SCROLLBAR
|| n == K_HOR_SCROLLBAR