diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-15 21:41:48 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-15 21:41:48 +0000 |
commit | ae5bce1c127136a650ee25c4c78d3d334cc07859 (patch) | |
tree | 992edb0baaa4a6a4156fbfb77d4f6382cd3f5999 /src/undo.c | |
parent | 90cfdbe040320952e6b542d0633987f082b0f158 (diff) | |
download | vim-git-ae5bce1c127136a650ee25c4c78d3d334cc07859.tar.gz |
updated for version 7.0130v7.0130
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 6 |
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); |