]> granicus.if.org Git - vim/commitdiff
patch 8.0.1367 v8.0.1366 v8.0.1367
authorBram Moolenaar <Bram@vim.org>
Sun, 3 Dec 2017 17:20:32 +0000 (18:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 3 Dec 2017 17:20:32 +0000 (18:20 +0100)
src/beval.c
src/version.c

index f8bb6ba26b223ee9cdad93c11af5f370c356dd2c..981e5ea46ce777d0b78eae37d21686b87467fd6b 100644 (file)
@@ -50,7 +50,7 @@ get_beval_info(
     }
 #endif
     wp = mouse_find_win(&row, &col);
-    if (wp != NULL && row < wp->w_height && col < wp->w_width)
+    if (wp != NULL && row >= 0 && row < wp->w_height && col < wp->w_width)
     {
        /* Found a window and the cursor is in the text.  Now find the line
         * number. */
index 3f1d7db311d3e7df0ec4b29a35062b2d63a87893..4a82af9de30ae4f1ee3e0660e92a0f195a67090e 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1366,
 /**/
     1365,
 /**/