diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-03-17 14:48:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-03-17 14:48:24 +0100 |
commit | 9c27fc3dba402773b9c5ef25a229f962e90f0eeb (patch) | |
tree | 6a12f396383c0dd5d3dee6d12d8d1f91e2262845 /src/popupmnu.c | |
parent | 97e7a84b6d152f45db1916f39b19e8fef86923ab (diff) | |
download | vim-git-9c27fc3dba402773b9c5ef25a229f962e90f0eeb.tar.gz |
updated for version 7.2.396v7.2.396
Problem: Get E38 errors. (Dasn)
Solution: Set cursor to line 1 instead of 0. (Dominique Pelle)
Diffstat (limited to 'src/popupmnu.c')
-rw-r--r-- | src/popupmnu.c | 2 |
1 files changed, 1 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)) |