summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-03-17 14:48:24 +0100
committerBram Moolenaar <Bram@vim.org>2010-03-17 14:48:24 +0100
commit9c27fc3dba402773b9c5ef25a229f962e90f0eeb (patch)
tree6a12f396383c0dd5d3dee6d12d8d1f91e2262845
parent97e7a84b6d152f45db1916f39b19e8fef86923ab (diff)
downloadvim-9c27fc3dba402773b9c5ef25a229f962e90f0eeb.zip
updated for version 7.2.396
Problem: Get E38 errors. (Dasn) Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
-rw-r--r--src/popupmnu.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -682,6 +682,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 396,
+/**/
395,
/**/
394,