summaryrefslogtreecommitdiff
path: root/tvguide.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-07-12 17:23:16 +0200
committerlouis <louis.braun@gmx.de>2013-07-12 17:23:16 +0200
commit3f7010685350263e9268d412ee403142b1059d8e (patch)
tree9c73a4c6e5a130a801368506a44cfb9140aa2075 /tvguide.c
parentba3d6c07d07b1b0cc08c2d98d9e98802f2779acf (diff)
downloadvdr-plugin-tvguide-3f7010685350263e9268d412ee403142b1059d8e.tar.gz
vdr-plugin-tvguide-3f7010685350263e9268d412ee403142b1059d8e.tar.bz2
changed service call
Diffstat (limited to 'tvguide.c')
-rw-r--r--tvguide.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvguide.c b/tvguide.c
index 766c2c3..4a79fbd 100644
--- a/tvguide.c
+++ b/tvguide.c
@@ -195,9 +195,9 @@ bool cPluginTvguide::Service(const char *Id, void *Data)
if (strcmp(Id, "MainMenuHooksPatch-v1.0::osSchedule") == 0 && tvguideConfig.replaceOriginalSchedule != 0) {
if (Data == NULL)
return true;
- cOsdMenu **menu = (cOsdMenu**) Data;
- if (menu)
- *menu = (cOsdMenu*) MainMenuAction();
+ cOsdObject **guide = (cOsdObject**) Data;
+ if (guide)
+ *guide = MainMenuAction();
return true;
}
return false;