summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-02-09 15:38:51 +0100
committerlouis <louis.braun@gmx.de>2016-02-09 15:38:51 +0100
commitc0297c01dcd77db27b4b78094878bf5dacaa9d30 (patch)
treedbd921130a73c19cf7ec6f7a6c049e3f77992659
parentb7d25009c04ab6c336cfe33194abd566c8a63e44 (diff)
downloadvdr-plugin-skindesigner-c0297c01dcd77db27b4b78094878bf5dacaa9d30.tar.gz
vdr-plugin-skindesigner-c0297c01dcd77db27b4b78094878bf5dacaa9d30.tar.bz2
fixed crash in epgsearch fav view
-rw-r--r--coreengine/viewdisplaymenu.c2
-rw-r--r--skins/metrixhd/xmlfiles/displaymenuschedules.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/coreengine/viewdisplaymenu.c b/coreengine/viewdisplaymenu.c
index 82ebf5d..7dd8efb 100644
--- a/coreengine/viewdisplaymenu.c
+++ b/coreengine/viewdisplaymenu.c
@@ -399,6 +399,8 @@ void cViewMenu::SetMessage(eMessageType type, const char *text) {
}
void cViewMenu::SetChannelHeader(const cEvent *event) {
+ if (!event)
+ return;
if (menuChange && menuCat == mcSchedule) {
const cChannel *channel = Channels.GetByChannelID(event->ChannelID());
if (channel)
diff --git a/skins/metrixhd/xmlfiles/displaymenuschedules.xml b/skins/metrixhd/xmlfiles/displaymenuschedules.xml
index a592e76..fa2b18a 100644
--- a/skins/metrixhd/xmlfiles/displaymenuschedules.xml
+++ b/skins/metrixhd/xmlfiles/displaymenuschedules.xml
@@ -105,7 +105,7 @@
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="{areawidth} - 20" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
</area>
- <areacontainer condition="{whatsonnow}||{whatsonnext}">
+ <areacontainer condition="{whatsonnow}||{whatsonnext}||{whatsonfavorites}">
<area x="63%" y="0" width="36%" height="85%" layer="2">
<!-- title -->
<drawtext align="center" y="0" font="{semibold}" width="{areawidth}-20" fontsize="10%" color="{clrWhite}" text="{title}" />