CSreenSaver: add png files

This commit is contained in:
defans
2015-01-08 12:23:36 +01:00
committed by svenhoefer
parent 5cfb4f1bcd
commit b32757420a

View File

@@ -180,10 +180,7 @@ bool CScreenSaver::ReadDir()
for (p = curr_ext; *p; ++p)
*p = (char)tolower(*p);
//printf("%s\n",curr_ext);
if((strcmp(".jpg",curr_ext))
//|| (strcmp(".png",curr_ext))
//|| (strcmp(".bmp",curr_ext))
)
if (strcmp(".jpg",curr_ext) && strcmp(".png",curr_ext))
continue;
str += "/";