From 8452189397544cd2fa50c8dfafe024b429a9188c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 28 Mar 2016 12:43:57 +0200 Subject: vis: cleanup usage of vis_cursors_count --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view.c') 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; } -- cgit v1.2.3