summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-09 21:08:57 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-09 21:08:57 +0000
commit35fdbb540aa6f7572557cd88b21c5ee2e9c8c70e (patch)
tree2ee9f79196afa6f3b737e463c767ccd70f5d311a /src/undo.c
parenta466c99842c4b482c847b6336aae458509963dcd (diff)
downloadvim-git-35fdbb540aa6f7572557cd88b21c5ee2e9c8c70e.tar.gz
updated for version 7.0106
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
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 */