]> git.sur5r.net Git - i3/i3lock/commitdiff
promote the "could not load image" message from debug to normal
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 26 Sep 2012 09:21:48 +0000 (11:21 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 26 Sep 2012 09:21:48 +0000 (11:21 +0200)
i3lock.c

index e11bfe626630674e30bc0ae0d81f93b7cc232251..ae1e884cffcf53067b9e86fae3ac7c968ad8a65e 100644 (file)
--- 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;
         }
     }