diff src/misc1.c @ 4225:a82ef37d38c0 v7.3.864

updated for version 7.3.864 Problem: Can't build without the mouse feature. Solution: Add an #ifdef. (Ike Devolder)
author Bram Moolenaar <bram@vim.org>
date Sat, 16 Mar 2013 21:35:33 +0100
parents dd4f3ceb5d86
children edd0bc1f26bd
line wrap: on
line diff
--- 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