sxiv

simple X image viewer
git clone git://git.suckless.org/sxiv
Log | Files | Refs | LICENSE

commit 53a72c7b657d9dc3347d9d68e0b9a00773efe732
parent f75fa78ecaea43204e5e6abdf568139a7b621d6d
Author: Bert M√ľnnich <ber.t@posteo.de>
Date:   Mon, 28 Dec 2015 17:00:21 +0100

Fix option -q; commit d3a70a2 completely broke it; fixes issue #223

Diffstat:
Makefile | 2+-
util.c | 3+++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -VERSION := git-20151226 +VERSION := git-20151228 PREFIX := /usr/local MANPREFIX := $(PREFIX)/share/man diff --git a/util.c b/util.c @@ -62,6 +62,9 @@ void error(int eval, int err, const char* fmt, ...) { va_list ap; + if (eval == 0 && options->quiet) + return; + fflush(stdout); fprintf(stderr, "%s: ", progname); va_start(ap, fmt);