summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-09 21:14:46 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-09 21:14:46 +0000
commitd8e9bb209065d150b8a3d9b7ceee1d3ae6c94329 (patch)
treebb1763b0b1ca8b1c2453e05904cb29ea854a2b2e /src/search.c
parent35fdbb540aa6f7572557cd88b21c5ee2e9c8c70e (diff)
downloadvim-git-d8e9bb209065d150b8a3d9b7ceee1d3ae6c94329.tar.gz
updated for version 7.0106v7.0106
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 20745d9bc..034d9c4a8 100644
--- a/src/search.c
+++ b/src/search.c
@@ -3745,7 +3745,7 @@ find_next_quote(line, col, quotechar, escape)
{
int c;
- while (1)
+ for (;;)
{
c = line[col];
if (c == NUL)
@@ -3886,7 +3886,7 @@ current_quote(oap, count, include, quotechar)
* Also do this when there is a Visual area, a' may leave the cursor
* in between two strings. */
col_start = 0;
- while (1)
+ for (;;)
{
/* Find open quote character. */
col_start = find_next_quote(line, col_start, quotechar, NULL);