mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CSreenSaver: add png files
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user