Commit 4807123b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

feh_draw_info: Do not fail if the info_cmd did not output anything

parent 5e604014
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
git HEAD

    * The --bg-options now accept multiple filenames, one per Xinerama screen
    * Fix --info bug when the command wrote no lines to stdout

Mon, 26 Sep 2011 09:35:41 +0200  Daniel Friesel <derf@finalrewind.org>

+3 −0
Original line number Diff line number Diff line
@@ -543,6 +543,9 @@ void feh_draw_info(winwidget w)
		pclose(info_pipe);
	}

	if (no_lines == 0)
		return;

	height *= no_lines;
	width += 4;