Permalink
Browse files

patch 8.0.1367

  • Loading branch information...
brammool committed Dec 3, 2017
1 parent 2482069 commit 1ad022a9b81d7829d5dc98cf5b8d0ee410558040
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/beval.c
  2. +2 −0 src/version.c
View
@@ -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. */
View
@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1366,
/**/
1365,
/**/

0 comments on commit 1ad022a

Please sign in to comment.