diff options
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 56bfea8..52c90d6 100644 --- a/src/options.c +++ b/src/options.c @@ -798,6 +798,14 @@ 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); } |