From: Michael Stapelberg Date: Wed, 26 Sep 2012 09:21:48 +0000 (+0200) Subject: promote the "could not load image" message from debug to normal X-Git-Tag: 2.5~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=603c90e9859f30671841bbc305e53fbb7bf7fee8;p=i3%2Fi3lock promote the "could not load image" message from debug to normal --- diff --git a/i3lock.c b/i3lock.c index e11bfe6..ae1e884 100644 --- a/i3lock.c +++ b/i3lock.c @@ -692,9 +692,8 @@ int main(int argc, char *argv[]) { img = cairo_image_surface_create_from_png(image_path); /* In case loading failed, we just pretend no -i was specified. */ if (cairo_surface_status(img) != CAIRO_STATUS_SUCCESS) { - if (debug_mode) - fprintf(stderr, "Could not load image \"%s\": cairo surface status %d\n", - image_path, cairo_surface_status(img)); + fprintf(stderr, "Could not load image \"%s\": cairo surface status %d\n", + image_path, cairo_surface_status(img)); img = NULL; } }