diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-09 21:08:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-09 21:08:57 +0000 |
commit | 35fdbb540aa6f7572557cd88b21c5ee2e9c8c70e (patch) | |
tree | 2ee9f79196afa6f3b737e463c767ccd70f5d311a /src/undo.c | |
parent | a466c99842c4b482c847b6336aae458509963dcd (diff) | |
download | vim-git-35fdbb540aa6f7572557cd88b21c5ee2e9c8c70e.tar.gz |
updated for version 7.0106
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index e586e5633..53070af52 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1372,7 +1372,7 @@ u_alloc_line(size) /* In this block find a chunk with enough space. */ mprev = curbuf->b_m_search; mp = curbuf->b_m_search->m_next; - while (1) + for (;;) { if (mp == NULL) /* at end of the list */ mp = &(mbp->mb_info); /* wrap around to begin */ |