summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-07-23 17:39:25 +0200
committerBram Moolenaar <Bram@vim.org>2014-07-23 17:39:25 +0200
commit17529ae026c683a0973e41bdd3ec93a4da2bbe6f (patch)
tree5b1d848f57469df2c6ac46b36c626f344b01b3e0 /src/edit.c
parent12a28d4b29f1b8a42d9fb994f1d2c9cb717564ab (diff)
downloadvim-17529ae026c683a0973e41bdd3ec93a4da2bbe6f.zip
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.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index 69679bcdd..6bc517e2f 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -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: