diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-30 23:53:04 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-30 23:53:04 +0200 |
commit | f44207093fdd02efc3e6e03054775514787b108e (patch) | |
tree | 6b2f1da449d35b630c8c6a4e217a7c03fdb849a0 /src | |
parent | 17e2a29a5509939e6d2732d8b3d369b286f758b8 (diff) |
Make --cache-thumbnails adhere more to the standard
Diffstat (limited to 'src')
-rw-r--r-- | src/options.c | 4 | ||||
-rw-r--r-- | src/thumbnail.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index a8f3791..56bfea8 100644 --- a/src/options.c +++ b/src/options.c @@ -797,6 +797,7 @@ static void check_options(void) free(opt.thumb_title); opt.thumb_title = NULL; } + D_RETURN_(4); } @@ -960,7 +961,8 @@ void show_usage(void) " OPTIONS\n" " -t, --thumbnails As --index, but clicking an image will open it in\n" " a new viewing window\n" -" --cache-thumbnails Enable thumbnail caching\n" +" --cache-thumbnails Enable thumbnail caching for thumbnail mode.\n" +" Only works with thumbnails <= 128x128 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" diff --git a/src/thumbnail.c b/src/thumbnail.c index f4304af..ece4853 100644 --- a/src/thumbnail.c +++ b/src/thumbnail.c @@ -717,7 +717,7 @@ int feh_thumbnail_get_thumbnail(Imlib_Image * image, feh_file * file) if (!status) status = feh_thumbnail_generate(image, file, thumb_file, uri); - printf("uri is %s, thumb_file is %s\n", uri, thumb_file); + D(1, ("uri is %s, thumb_file is %s\n", uri, thumb_file)); free(uri); free(thumb_file); } else |