]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.381 v7.4.381
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Jul 2014 15:39:25 +0000 (17:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Jul 2014 15:39:25 +0000 (17:39 +0200)
Problem:    Get u_undo error when backspacing in Insert mode deletes more than
            one line break. (Ayberk Ozgur)
Solution:   Also decrement Insstart.lnum.

src/edit.c
src/version.c

index 69679bcdddf60b1127f70bc4595743509791ac30..6bc517e2fb253ea3544fff4c82e99426c06d8d65 100644 (file)
@@ -8833,6 +8833,7 @@ ins_bs(c, mode, inserted_space_p)
                return FALSE;
            --Insstart_orig.lnum;
            Insstart_orig.col = MAXCOL;
+           Insstart = Insstart_orig;
        }
        /*
         * In replace mode:
index 24fc1d9e446bcc9c0885bf2d06f443cbd99dabf8..b5b86e5148973230fa7066539214ddc3d1939504 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    381,
 /**/
     380,
 /**/