diff options
author | louis <louis.braun@gmx.de> | 2013-09-30 19:28:26 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-30 19:28:26 +0200 |
commit | a1f5d0e1385e371d1dc29cbcb2b758e4ae53a24d (patch) | |
tree | ddb0157fa44aa8496abcdf5bc3e9c53642231e76 /imageloader.c | |
parent | 8eeae278b54410f03410105c5621bd690523f61c (diff) | |
download | skin-nopacity-a1f5d0e1385e371d1dc29cbcb2b758e4ae53a24d.tar.gz skin-nopacity-a1f5d0e1385e371d1dc29cbcb2b758e4ae53a24d.tar.bz2 |
added some color definitions and theme keep it light
Diffstat (limited to 'imageloader.c')
-rw-r--r-- | imageloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imageloader.c b/imageloader.c index 3807bbb..8a90a90 100644 --- a/imageloader.c +++ b/imageloader.c @@ -145,7 +145,7 @@ bool cImageLoader::FirstImageInFolder(cString Path, cString Extension, cString * while (file = readdir(folder)) { if (endswith(file->d_name, *Extension)) { std::string fileName = file->d_name; - if (!fileName.compare("cover_vdr.jpg")) + if (!fileName.compare(fileName.size()-8, 8, "_vdr.jpg")) continue; if (fileName.length() > 4) fileName = fileName.substr(0, fileName.length() - 4); |