From 477f1c2261820633fb66a4435f945d6984210981 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 9 Oct 2011 18:52:47 +0200 Subject: index.c, thumnail.c: Remove size restriction message It's all documented in the manpage anyways. --- src/index.c | 14 +------------- src/thumbnail.c | 14 +------------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/index.c b/src/index.c index ba95642..2bb5787 100644 --- a/src/index.c +++ b/src/index.c @@ -111,22 +111,10 @@ void init_index_mode(void) if (!opt.limit_w && !opt.limit_h) { if (bg_im) { - if (opt.verbose) - fputs(PACKAGE - " - No size restriction specified for index.\n" - " You did specify a background however, so the\n" - " index size has defaulted to the size of the image\n", - stdout); opt.limit_w = bg_w; opt.limit_h = bg_h; - } else { - if (opt.verbose) - fputs(PACKAGE - " - No size restriction specified for index.\n" - " Using defaults (width limited to 800)\n", - stdout); + } else opt.limit_w = 800; - } } /* Here we need to whiz through the files, and look at the filenames and diff --git a/src/thumbnail.c b/src/thumbnail.c index 4e32dfa..860308d 100644 --- a/src/thumbnail.c +++ b/src/thumbnail.c @@ -510,22 +510,10 @@ void feh_thumbnail_calculate_geometry(void) if (!opt.limit_w && !opt.limit_h) { if (td.im_bg) { - if (opt.verbose) - fputs(PACKAGE - " - No size restriction specified for index.\n" - " You did specify a background however, so the\n" - " index size has defaulted to the size of the image\n", - stdout); opt.limit_w = td.bg_w; opt.limit_h = td.bg_h; - } else { - if (opt.verbose) - fputs(PACKAGE - " - No size restriction specified for index.\n" - " Using defaults (width limited to 800)\n", - stdout); + } else opt.limit_w = 800; - } } /* Here we need to whiz through the files, and look at the filenames and -- cgit v1.2.3