diff src/gui.c @ 877:af98ef7f5a39 v7.0.003

updated for version 7.0-003
author vimboss
date Sat, 13 May 2006 10:11:39 +0000
parents 99305c4c42d4
children edb3bc186e97
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -4603,11 +4603,11 @@ gui_mouse_correct()
     /* Don't move the mouse when it's left or right of the Vim window */
     if (x < 0 || x > Columns * gui.char_width)
 	return;
+    if (y >= 0
 # ifdef FEAT_WINDOWS
-    if (Y_2_ROW(y) >= tabline_height())
-# else
-    if (y >= 0)
+	    && Y_2_ROW(y) >= tabline_height()
 # endif
+       )
 	wp = xy2win(x, y);
     if (wp != curwin && wp != NULL)	/* If in other than current window */
     {