From 5b01c15176298b0335432e089d70e55c84379756 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sat, 16 Aug 2014 18:36:17 +0200 Subject: Unified file index variable for image & thumbnail mode --- thumbs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thumbs.h') diff --git a/thumbs.h b/thumbs.h index 4de80c3..35864c3 100644 --- a/thumbs.h +++ b/thumbs.h @@ -41,7 +41,7 @@ typedef struct { int cnt; int loadnext; int first; - int sel; + int *sel; win_t *win; int x; @@ -54,7 +54,7 @@ typedef struct { void tns_clean_cache(tns_t*); -void tns_init(tns_t*, int, win_t*); +void tns_init(tns_t*, int, win_t*, int*); void tns_free(tns_t*); bool tns_load(tns_t*, int, const fileinfo_t*, bool, bool); -- cgit v1.2.3-54-g00ecf