Commit 477f1c22 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

index.c, thumnail.c: Remove size restriction message

It's all documented in the manpage anyways.
parent 90a6142b
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -111,23 +111,11 @@ 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
	   info in the selected font, work out how much space we need, and
+1 −13
Original line number Diff line number Diff line
@@ -510,23 +510,11 @@ 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
	   info in the selected font, work out how much space we need, and