diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-31 00:38:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-31 00:38:45 +0200 |
commit | 62ad1f1e5c7164eab0e19af65f6384a13ad701ee (patch) | |
tree | 8e7542e463486e8604aa89637bae362d09d9102f /src/options.c | |
parent | cf36be979939c93315b77f24575dc4028916776d (diff) |
Support caching of thumbnails up to 256x256 pixels (.thumbnails/large)
Depending on --thumb-width/--thumb-height, either .thumbnails/normal or
.thumbnails/large is used. For higher dimensions, thumbnail caching is still
silently disabled, this should also be what the standard indicates.
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/options.c b/src/options.c index 52c90d6..f967456 100644 --- a/src/options.c +++ b/src/options.c @@ -798,14 +798,6 @@ static void check_options(void) opt.thumb_title = NULL; } - if (opt.cache_thumbnails && ((opt.thumb_w > 128) || (opt.thumb_h > 128))) { - /* No warning needed, the documentation should be clear enough. - * Plus, we don't want to annoy users who use --cache-thumbnails by - * default but frequently change their thumbnail size. - */ - opt.cache_thumbnails = 0; - } - D_RETURN_(4); } @@ -970,7 +962,7 @@ void show_usage(void) " -t, --thumbnails As --index, but clicking an image will open it in\n" " a new viewing window\n" " --cache-thumbnails Enable thumbnail caching for thumbnail mode.\n" -" Only works with thumbnails <= 128x128 pixels\n" +" Only works with thumbnails <= 256x256 pixels\n" " -~, --thumb-title STRING Set window title for images opened from thumbnail mode.\n" " Supports format specifiers, see there.\n" " -I, --fullindex Same as index mode, but below each thumbnail you\n" |