diff options
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index 52cab63989..979c6153aa 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -1225,7 +1225,7 @@ static void read_input(DynamicBuffer *buf) linenr_T lnum = curbuf->b_op_start.lnum; char *lp = ml_get(lnum); - for (;;) { + while (true) { l = strlen(lp + written); if (l == 0) { len = 0; |