Compare commits

..

1 Commits

Author SHA1 Message Date
1ad022a9b8 patch 8.0.1367 2017-12-03 18:20:32 +01:00
2 changed files with 3 additions and 1 deletions

View 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. */

View File

@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1366,
/**/
1365,
/**/