]> git.vomp.tv Git - vompclient.git/commitdiff
Bug fix for duplicating epg rows
authorChris Tallon <chris@vomp.tv>
Sat, 22 Apr 2006 12:10:21 +0000 (12:10 +0000)
committerChris Tallon <chris@vomp.tv>
Sat, 22 Apr 2006 12:10:21 +0000 (12:10 +0000)
vepg.cc

diff --git a/vepg.cc b/vepg.cc
index a27a05febc30de8d899d764fd6546fd8cfb90832..fc496be8d2eb68ef243f0e5c42efbee333450609 100644 (file)
--- a/vepg.cc
+++ b/vepg.cc
@@ -541,17 +541,11 @@ void VEpg::updateEventList()
   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