aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index a6ed5c7410..2d82ff1bba 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -2558,7 +2558,7 @@ static char *get_one_sourceline(struct source_cookie *sp)
// Loop until there is a finished line (or end-of-file).
sp->sourcing_lnum++;
- for (;;) {
+ while (true) {
// make room to read at least 120 (more) characters
ga_grow(&ga, 120);
buf = ga.ga_data;