Browse Source

Fixed thumbnail creation

master
Bert 14 years ago
parent
commit
7e2c85b04c
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      main.c

+ 3
- 1
main.c View File

@@ -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();


Loading…
Cancel
Save