Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[epg] fixed possible crash in CGUIEPGGridContainer::Render(). credits…

… to forum user 'x-cimo'
  • Loading branch information...
commit d108eaf9f9aa2cdf079f7edda2f087c966be7e8d 1 parent d7fe56c
@opdenkamp opdenkamp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/epg/GUIEPGGridContainer.cpp
View
2  xbmc/epg/GUIEPGGridContainer.cpp
@@ -321,7 +321,7 @@ void CGUIEPGGridContainer::Render()
{
/* first program starts before current view */
int startBlock = blockOffset - 1;
- while (m_gridIndex[channel][startBlock].item == item)
+ while (startBlock > 0 && m_gridIndex[channel][startBlock].item == item)
startBlock--;
block = startBlock + 1;
Please sign in to comment.
Something went wrong with that request. Please try again.