From 36d6ba1534cb4192b19fc9aab5e7da18d048622c Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Mon, 23 Aug 2010 20:51:06 +0200 Subject: Fixed config logo path problem (patch from Jocker) --- magazine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3