]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-003 v7.0.003
authorBram Moolenaar <Bram@vim.org>
Sat, 13 May 2006 10:11:39 +0000 (10:11 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 May 2006 10:11:39 +0000 (10:11 +0000)
src/gui.c
src/version.c

index 3a07cf1567f3c55323cc9a39ce8214c500810d54..9c1b147f1c39b60f78eb2d865a6152ee4d93cf5f 100644 (file)
--- 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 */
     {
index 8eb758b5aec64ec8af35e2eb16ed1a4db24ad7c3..4d825dff6ec82fc0df025ca06e3151e78d79c602 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3,
 /**/
     2,
 /**/