Skip to content

Commit 1ad022a

Browse files
committed
patch 8.0.1367
1 parent 2482069 commit 1ad022a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/beval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ get_beval_info(
5050
}
5151
#endif
5252
wp = mouse_find_win(&row, &col);
53-
if (wp != NULL && row < wp->w_height && col < wp->w_width)
53+
if (wp != NULL && row >= 0 && row < wp->w_height && col < wp->w_width)
5454
{
5555
/* Found a window and the cursor is in the text. Now find the line
5656
* number. */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1366,
774776
/**/
775777
1365,
776778
/**/

0 commit comments

Comments
 (0)