summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-08 22:07:37 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-08 22:07:37 +0000
commiteaa48e7d41ddbed90368b14dec6b13bcfb0f698f (patch)
treeaf0e819a5630605b1361f040e2eabe6be601c3aa /src/ex_cmds.c
parent3638c6876da2fe86885abfdffdec1436260377fd (diff)
downloadvim-eaa48e7d41ddbed90368b14dec6b13bcfb0f698f.zip
updated for version 7.0083
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 4e2d29f86..9bef62db4 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3605,7 +3605,8 @@ ex_append(eap)
break;
}
if ((p[0] == '.' && p[1] == NUL)
- || (!did_undo && u_save(lnum, lnum + 1) == FAIL))
+ || (!did_undo && u_save(lnum, lnum + 1 + (empty ? 1 : 0))
+ == FAIL))
{
vim_free(theline);
break;