mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
changed service call
This commit is contained in:
parent
ba3d6c07d0
commit
3f70106853
@ -195,9 +195,9 @@ bool cPluginTvguide::Service(const char *Id, void *Data)
|
|||||||
if (strcmp(Id, "MainMenuHooksPatch-v1.0::osSchedule") == 0 && tvguideConfig.replaceOriginalSchedule != 0) {
|
if (strcmp(Id, "MainMenuHooksPatch-v1.0::osSchedule") == 0 && tvguideConfig.replaceOriginalSchedule != 0) {
|
||||||
if (Data == NULL)
|
if (Data == NULL)
|
||||||
return true;
|
return true;
|
||||||
cOsdMenu **menu = (cOsdMenu**) Data;
|
cOsdObject **guide = (cOsdObject**) Data;
|
||||||
if (menu)
|
if (guide)
|
||||||
*menu = (cOsdMenu*) MainMenuAction();
|
*guide = MainMenuAction();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user