Skip to content

Commit 96b4992

Browse files
committed
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.
1 parent 0be8b2e commit 96b4992

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/edit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8833,6 +8833,7 @@ ins_bs(c, mode, inserted_space_p)
88338833
return FALSE;
88348834
--Insstart_orig.lnum;
88358835
Insstart_orig.col = MAXCOL;
8836+
Insstart = Insstart_orig;
88368837
}
88378838
/*
88388839
* In replace mode:

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
381,
737739
/**/
738740
380,
739741
/**/

0 commit comments

Comments
 (0)