fixed a bug loading separatorlogos

This commit is contained in:
louis 2014-10-13 17:39:14 +02:00
parent 71aed6f5cf
commit 2e4a9b86ed

View File

@ -154,7 +154,7 @@ bool cImageCache::LogoExists(string channelID) {
} }
bool cImageCache::SeparatorLogoExists(string name) { bool cImageCache::SeparatorLogoExists(string name) {
string separatorPath = *cString::sprintf("%s%s/logos/separatorlogos/", *config.skinPath, Setup.OSDTheme); string separatorPath = *cString::sprintf("%sseparatorlogos/", logoPath.c_str());
string nameLower = StrToLowerCase(name.c_str()); string nameLower = StrToLowerCase(name.c_str());
string logoExt = *config.logoExtension; string logoExt = *config.logoExtension;
bool logoExists = FileExists(separatorPath, nameLower, logoExt); bool logoExists = FileExists(separatorPath, nameLower, logoExt);