i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit b2e296e4fed8075201c64b960d4375c5d91ce88e
parent 9c547309741f3e903b1d2115d3ef301e2691a773
Author: Thomas Osterland <t.osterland@web.de>
Date:   Sat, 24 Mar 2018 10:02:02 +0100

removed if -> now slideshow supports jpeg

Diffstat:
Mi3lock.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/i3lock.c b/i3lock.c
@@ -1118,11 +1118,11 @@ void load_slideshow_images(const char *path) {
         strcat(path_to_image, "/");
         strcat(path_to_image, dir->d_name);
 
-        if (verify_png_image(path_to_image)) {
-            img_slideshow[file_count] = load_image(path_to_image);
+        img_slideshow[file_count] = load_image(path_to_image);
+
+        if (img_slideshow[file_count] != NULL) {
             ++file_count;
         }
-
     }
 
     slideshow_image_count = file_count;