... and fixed the typo in d108eaf9f9aa2cdf079f7edda2f087c966be7e8d
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 11 Jan 2013 01:01:11 +0000 (02:01 +0100)
committerS. Davilla <davilla@4pi.com>
Fri, 11 Jan 2013 13:59:38 +0000 (08:59 -0500)
xbmc/epg/GUIEPGGridContainer.cpp

index 29e52bc..32b7388 100644 (file)
@@ -321,7 +321,7 @@ void CGUIEPGGridContainer::Render()
     {
       /* first program starts before current view */
       int startBlock = blockOffset - 1;
-      while (startBlock > 0 && m_gridIndex[channel][startBlock].item == item)
+      while (startBlock >= 0 && m_gridIndex[channel][startBlock].item == item)
         startBlock--;
 
       block = startBlock + 1;