From 9c27fc3dba402773b9c5ef25a229f962e90f0eeb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 17 Mar 2010 14:48:24 +0100 Subject: [PATCH] updated for version 7.2.396 Problem: Get E38 errors. (Dasn) Solution: Set cursor to line 1 instead of 0. (Dominique Pelle) --- src/popupmnu.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/popupmnu.c b/src/popupmnu.c index bef9dd5ef..9dce37848 100644 --- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -640,7 +640,7 @@ pum_set_selected(n, repeat) curbuf->b_changed = 0; curbuf->b_p_ma = FALSE; - curwin->w_cursor.lnum = 0; + curwin->w_cursor.lnum = 1; curwin->w_cursor.col = 0; if (curwin != curwin_save && win_valid(curwin_save)) diff --git a/src/version.c b/src/version.c index ba75f61ac..939a11093 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 396, /**/ 395, /**/ -- 2.50.1