From ddd028eb3ea628855b4bb35ca7fb40562bd87861 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Tue, 30 Sep 2014 21:54:17 +0200 Subject: Unified file count variable for image & thumbnail mode --- thumbs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'thumbs.h') diff --git a/thumbs.h b/thumbs.h index 9a16d1c..f3121e5 100644 --- a/thumbs.h +++ b/thumbs.h @@ -36,11 +36,11 @@ typedef struct { typedef struct { const fileinfo_t *files; thumb_t *thumbs; - int cnt; + const int *cnt; + int *sel; int loadnext; int first, end; int r_first, r_end; - int *sel; win_t *win; int x; @@ -56,7 +56,7 @@ typedef struct { void tns_clean_cache(tns_t*); -void tns_init(tns_t*, const fileinfo_t*, int, int*, win_t*); +void tns_init(tns_t*, const fileinfo_t*, const int*, int*, win_t*); void tns_free(tns_t*); bool tns_load(tns_t*, int, bool); -- cgit v1.2.3