Browse Source

removed if -> now slideshow supports jpeg

master
Thomas Osterland 7 years ago
parent
commit
b2e296e4fe
  1. 6
      i3lock.c

6
i3lock.c

@ -1118,11 +1118,11 @@ void load_slideshow_images(const char *path) {
strcat(path_to_image, "/"); strcat(path_to_image, "/");
strcat(path_to_image, dir->d_name); 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; ++file_count;
} }
} }
slideshow_image_count = file_count; slideshow_image_count = file_count;

Loading…
Cancel
Save