diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2012-09-26 11:21:48 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-09-26 11:21:48 +0200 |
commit | 603c90e9859f30671841bbc305e53fbb7bf7fee8 (patch) | |
tree | 6efa69b4f003b99ddd9dc16e37d8ec0d59c35d30 | |
parent | 1e55f0dc6ffd3e5f7a867d5e3b2456afb19378d8 (diff) |
promote the "could not load image" message from debug to normal
-rw-r--r-- | i3lock.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } } |