From 35fdbb540aa6f7572557cd88b21c5ee2e9c8c70e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 9 Jul 2005 21:08:57 +0000 Subject: updated for version 7.0106 --- src/undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/undo.c') 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 */ -- cgit v1.2.1