CSreenSaver: add png files

Origin commit data
------------------
Branch: ni/coolstream
Commit: b32757420a
Author: defans <defans@bluepeercrew.us>
Date: 2015-01-08 (Thu, 08 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
defans
2015-01-08 12:23:36 +01:00
committed by vanhofen
parent 4bc3d8fde5
commit 167ca5deb0

View File

@@ -180,11 +180,8 @@ 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))
)
continue;
if (strcmp(".jpg",curr_ext) && strcmp(".png",curr_ext))
continue;
str += "/";
str += (*dirpointer).d_name;