1
0
forked from aniani/vim

updated for version 7.3.864

Problem:    Can't build without the mouse feature.
Solution:   Add an #ifdef. (Ike Devolder)
This commit is contained in:
Bram Moolenaar
2013-03-16 21:35:33 +01:00
parent e533bbe094
commit a5be25e1db
2 changed files with 4 additions and 0 deletions

View File

@@ -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