summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-15 21:41:48 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-15 21:41:48 +0000
commitae5bce1c127136a650ee25c4c78d3d334cc07859 (patch)
tree992edb0baaa4a6a4156fbfb77d4f6382cd3f5999 /src/undo.c
parent90cfdbe040320952e6b542d0633987f082b0f158 (diff)
downloadvim-git-ae5bce1c127136a650ee25c4c78d3d334cc07859.tar.gz
updated for version 7.0130v7.0130
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/undo.c b/src/undo.c
index 362b317e7..34e1f400d 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -404,6 +404,12 @@ u_savecommon(top, bot, newbot)
}
for (i = 0, lnum = top + 1; i < size; ++i)
{
+ fast_breakcheck();
+ if (got_int)
+ {
+ u_freeentry(uep, i);
+ return FAIL;
+ }
if ((uep->ue_array[i] = u_save_line(lnum++)) == NULL)
{
u_freeentry(uep, i);