From 3f7010685350263e9268d412ee403142b1059d8e Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 12 Jul 2013 17:23:16 +0200 Subject: [PATCH] changed service call --- tvguide.c | 6 +++--- 1 file 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;