mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -180,11 +180,8 @@ bool CScreenSaver::ReadDir()
|
|||||||
for (p = curr_ext; *p; ++p)
|
for (p = curr_ext; *p; ++p)
|
||||||
*p = (char)tolower(*p);
|
*p = (char)tolower(*p);
|
||||||
//printf("%s\n",curr_ext);
|
//printf("%s\n",curr_ext);
|
||||||
if((strcmp(".jpg",curr_ext))
|
if (strcmp(".jpg",curr_ext) && strcmp(".png",curr_ext))
|
||||||
//|| (strcmp(".png",curr_ext))
|
continue;
|
||||||
//|| (strcmp(".bmp",curr_ext))
|
|
||||||
)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
str += "/";
|
str += "/";
|
||||||
str += (*dirpointer).d_name;
|
str += (*dirpointer).d_name;
|
||||||
|
Reference in New Issue
Block a user