aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r--src/nvim/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 7b79081dd9..b3f94a42fc 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -239,7 +239,7 @@ fmark_T *get_jumplist(win_T *win, int count)
return NULL;
}
- for (;;) {
+ while (true) {
if (win->w_jumplistidx + count < 0
|| win->w_jumplistidx + count >= win->w_jumplistlen) {
return NULL;