From f44207093fdd02efc3e6e03054775514787b108e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 30 May 2010 23:53:04 +0200 Subject: Make --cache-thumbnails adhere more to the standard --- src/options.c | 4 +++- src/thumbnail.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3