summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-10-09 18:52:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-10-09 18:52:47 +0200
commit477f1c2261820633fb66a4435f945d6984210981 (patch)
treedc4d0bc15e2a629940a380ed01ba76237ea98b92
parent90a6142b4ae35e6222da94a351d95a3a785908c3 (diff)
downloadfeh-477f1c2261820633fb66a4435f945d6984210981.zip
index.c, thumnail.c: Remove size restriction message
It's all documented in the manpage anyways.
-rw-r--r--src/index.c14
-rw-r--r--src/thumbnail.c14
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