]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.396 v7.2.396
authorBram Moolenaar <Bram@vim.org>
Wed, 17 Mar 2010 13:48:24 +0000 (14:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 17 Mar 2010 13:48:24 +0000 (14:48 +0100)
Problem:    Get E38 errors. (Dasn)
Solution:   Set cursor to line 1 instead of 0. (Dominique Pelle)

src/popupmnu.c
src/version.c

index bef9dd5ef8a30a6adb38947daab6e51a096c0938..9dce37848b281691b10627cccc2a9e05224d7006 100644 (file)
@@ -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))
index ba75f61acd008a4c18843955da671b7e3e76051f..939a11093a6ed9a9806adde6fd8bf5fc65ca19a2 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    396,
 /**/
     395,
 /**/