aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index dad1dcd..0dd185a 100644
--- a/view.c
+++ b/view.c
@@ -1105,7 +1105,7 @@ err:
int view_cursors_count(View *view) {
int i = 0;
- for (Cursor *c = view_cursors(view); c; c = view_cursors_next(c))
+ for (Cursor *c = view->cursors; c; c = c->next)
i++;
return i;
}