summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2010-12-11 19:31:12 +0100
committerAndreas Mair <amair.sob@googlemail.com>2010-12-11 19:31:12 +0100
commit6bea748474e3ecffb16ccc89de08a95384d85d7c (patch)
treee19f56d0f679c30e0644002ee0334a6dd649138d
parent55603617b4649c84296b76c0c41a0b847d83b0c2 (diff)
downloadvdr-plugin-skinenigmang-6bea748474e3ecffb16ccc89de08a95384d85d7c.tar.gz
vdr-plugin-skinenigmang-6bea748474e3ecffb16ccc89de08a95384d85d7c.tar.bz2
Look for channel logos only in "logos" folder ("hqlogos" folder no longer supported).
-rw-r--r--HISTORY3
-rw-r--r--logo.c10
2 files changed, 6 insertions, 7 deletions
diff --git a/HISTORY b/HISTORY
index e295d4e..f3ded52 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,9 @@
VDR Skin 'EnigmaNG' Revision History
------------------------------------------
+2010-xx-xx: Version 0.1.2
+- Changed: Look for channel logos only in "logos" folder ("hqlogos" folder no longer supported).
+
2010-04-05: Version 0.1.1
- Moved "General / Show progressbar" to "Logos & Symbols / Show progressbar in lists".
- Fixed gcc 4.3 compiler warnings.
diff --git a/logo.c b/logo.c
index 54a6db5..72c684f 100644
--- a/logo.c
+++ b/logo.c
@@ -114,15 +114,11 @@ bool cEnigmaLogoCache::LoadChannelLogo(const cChannel *Channel)
filename = (char *)malloc(strlen(strLogo) + 20 /* should be enough for folder */);
if (filename == NULL) goto leave;
- strcpy(filename, "hqlogos/");
+ strcpy(filename, "logos/");
strcat(filename, strLogo);
if (!(fFoundLogo = Load(filename, ChannelLogoWidth, ChannelLogoHeight, false))) {
- strcpy(filename, "logos/");
- strcat(filename, strLogo);
- if (!(fFoundLogo = Load(filename, ChannelLogoWidth, ChannelLogoHeight, false))) {
- error("cPluginSkinEnigma::LoadChannelLogo: LOGO \"%s.xpm\" NOT FOUND in %s/[hq]logos", strLogo, EnigmaConfig.GetLogoDir());
- fFoundLogo = Load("hqlogos/no_logo", ChannelLogoWidth, ChannelLogoHeight); //TODO? different default logo for channel/group?
- }
+ error("cPluginSkinEnigma::LoadChannelLogo: LOGO \"%s.xpm\" NOT FOUND in %s/logos", strLogo, EnigmaConfig.GetLogoDir());
+ fFoundLogo = Load("logos/no_logo", ChannelLogoWidth, ChannelLogoHeight); //TODO? different default logo for channel/group?
}
leave: