summaryrefslogtreecommitdiff
path: root/magazine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'magazine.cpp')
-rw-r--r--magazine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/magazine.cpp b/magazine.cpp
index ee2df16..dfc318e 100644
--- a/magazine.cpp
+++ b/magazine.cpp
@@ -258,7 +258,7 @@ void magazine::printLogo(const cSchedule *s,int p)
// logo: 64x48px
const char *ConfigDirectory=cPlugin::ConfigDirectory("logos");
- if (tvonscreenCfg.logos)
+ if (tvonscreenCfg.logos && strlen(tvonscreenCfg.logos)>0)
ConfigDirectory=tvonscreenCfg.logos;
char *fname=new char[strlen(ConfigDirectory) + 1 + strlen(txt) + strlen(".xpm") + 1];
sprintf(fname,"%s/%s.xpm",ConfigDirectory,txt);