Channel* chan;\r
for(UINT listIndex = 0; listIndex < gridRows; listIndex++)\r
{\r
- if (eventLista[listIndex])\r
- {\r
- if ((eventLista[listIndex])->empty())\r
- (eventLista)[listIndex]->clear();\r
- }\r
if(listTop + listIndex >= UINT(chanListbox.getBottomOption()))\r
continue;\r
chan = (*chanList)[listTop + listIndex];\r
\r
EventList* newEventList = VDR::getInstance()->getChannelSchedule(chan->number, ltime - 1, WINDOW_WIDTH * 60 + 2); // ltime - 1 to get prog before window (allows cursor left past ltime). + 2 to get prog after window\r
- if (newEventList) eventLista[listIndex] = newEventList;\r
}\r
}\r
\r