0
0
mirror of https://github.com/vim/vim.git synced 2025-09-10 22:33:40 -04:00

updated for version 7.4.381

Problem:    Get u_undo error when backspacing in Insert mode deletes more than
            one line break. (Ayberk Ozgur)
Solution:   Also decrement Insstart.lnum.
This commit is contained in:
Bram Moolenaar 2014-07-23 17:39:25 +02:00
parent 12a28d4b29
commit 17529ae026
2 changed files with 3 additions and 0 deletions

View File

@ -8833,6 +8833,7 @@ ins_bs(c, mode, inserted_space_p)
return FALSE; return FALSE;
--Insstart_orig.lnum; --Insstart_orig.lnum;
Insstart_orig.col = MAXCOL; Insstart_orig.col = MAXCOL;
Insstart = Insstart_orig;
} }
/* /*
* In replace mode: * In replace mode:

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
381,
/**/ /**/
380, 380,
/**/ /**/