diff options
author | Bert <ber.t@gmx.com> | 2011-02-16 16:53:35 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-16 16:53:35 +0100 |
commit | 7e2c85b04c2a061524a5f70c91aa8947eb7bd567 (patch) | |
tree | 181d7cf4b1f5a4894b860f90f7e1133eb91d0a07 | |
parent | 7b497406136dabcce280bae3886a88ee77ebc1e7 (diff) |
Fixed thumbnail creation
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -123,8 +123,10 @@ int main(int argc, char **argv) { if (options->thumbnails) { thumbs = (thumb_t*) s_malloc(filecnt * sizeof(thumb_t)); - for (i = 0; i < filecnt; ++i) + for (i = 0; i < filecnt; ++i) { + thumbs[i].pm = win_create_pixmap(&win); img_load_thumb(&thumbs[i], filenames[i]); + } } load_image(); |