diff options
author | Bert Münnich <ber.t@posteo.de> | 2014-09-30 21:54:17 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2014-09-30 21:54:17 +0200 |
commit | ddd028eb3ea628855b4bb35ca7fb40562bd87861 (patch) | |
tree | 699c444d7e4269fa97146660b5534b55a75e0f15 /thumbs.h | |
parent | b4096c59e4897e03ca503deee0638037abebb0e2 (diff) | |
download | nsxiv-ddd028eb3ea628855b4bb35ca7fb40562bd87861.tar.zst |
Unified file count variable for image & thumbnail mode
Diffstat (limited to 'thumbs.h')
-rw-r--r-- | thumbs.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |