From: Bram Moolenaar Date: Sun, 3 Dec 2017 17:20:32 +0000 (+0100) Subject: patch 8.0.1367 X-Git-Tag: v8.0.1366 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ad022a9b81d7829d5dc98cf5b8d0ee410558040;p=vim patch 8.0.1367 --- diff --git a/src/beval.c b/src/beval.c index f8bb6ba26..981e5ea46 100644 --- a/src/beval.c +++ b/src/beval.c @@ -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. */ diff --git a/src/version.c b/src/version.c index 3f1d7db31..4a82af9de 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1366, /**/ 1365, /**/