diff options
author | louis <louis.braun@gmx.de> | 2015-06-13 15:50:38 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-06-13 15:50:38 +0200 |
commit | 41736f4428f7d0545f11f5d1cbdc92a352c6049c (patch) | |
tree | a66ae787eef678d1da82b0a657a5fc071b077bb5 /libcore | |
parent | 7f2a4ca46c2f75abbaa3862d5070b5863b8b7b79 (diff) | |
parent | 1f09f9928d3545f6dcc9ce7a0e9c34a7ad7dc0fd (diff) | |
download | vdr-plugin-skindesigner-41736f4428f7d0545f11f5d1cbdc92a352c6049c.tar.gz vdr-plugin-skindesigner-41736f4428f7d0545f11f5d1cbdc92a352c6049c.tar.bz2 |
Merge branch 'master' into svgtemplates
Diffstat (limited to 'libcore')
-rw-r--r-- | libcore/imagecache.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcore/imagecache.c b/libcore/imagecache.c index 2e6a0fc..fe07e98 100644 --- a/libcore/imagecache.c +++ b/libcore/imagecache.c @@ -150,11 +150,12 @@ bool cImageCache::LogoExists(string channelID) { if (!channel) return false; string logoLower = StrToLowerCase(channel->Name()); + string channelIDLower = StrToLowerCase(channelID.c_str()); return (FileExists(logoPath.c_str(), logoLower, "svg") || FileExists(logoPath.c_str(), logoLower, "png") || - FileExists(logoPath.c_str(), channelID, "svg") || - FileExists(logoPath.c_str(), channelID, "png")); + FileExists(logoPath.c_str(), channelIDLower, "svg") || + FileExists(logoPath.c_str(), channelIDLower, "png")); } bool cImageCache::SeparatorLogoExists(string name) { |