1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00

removed if -> now slideshow supports jpeg

This commit is contained in:
Thomas Osterland 2018-03-24 10:02:02 +01:00
parent 9c54730974
commit b2e296e4fe

View file

@ -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;