Project

General

Profile

service.patch

lhanisch, 04/17/2013 07:14 PM

Download (628 Bytes)

View differences:

extrecmenu.c
250 250

  
251 251
bool cPluginExtrecmenu::Service(const char *Id,void *Data)
252 252
{
253
  if(!Data)
254
    return true;
255

  
256
  cOsdMenu **menu=(cOsdMenu**)Data;
257
  if(mysetup.ReplaceOrgRecMenu && strcmp(Id,"MainMenuHooksPatch-v1.0::osRecordings")==0)
253
  if(Data)
258 254
  {
259
    if(menu)
260
      *menu=(cOsdMenu*)MainMenuAction();
255
    cOsdMenu **menu=(cOsdMenu**)Data;
256
    if(mysetup.ReplaceOrgRecMenu && strcmp(Id,"MainMenuHooksPatch-v1.0::osRecordings")==0)
257
    {
258
      if(menu)
259
        *menu=(cOsdMenu*)MainMenuAction();
261 260

  
262
    return true;
261
      return true;
262
    }
263 263
  }
264 264
  return false;
265 265
}