mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 01:13:36 +02:00
gui/bedit/bouqueteditor_chanselect.cpp: fix crash after
commit0e5d9a714c
Origin commit data ------------------ Commit:747d7e2ff2
Author: [CST] Focus <focus.cst@gmail.com> Date: 2014-10-11 (Sat, 11 Oct 2014)
This commit is contained in:
@@ -124,7 +124,7 @@ void CBEChannelSelectWidget::paintItem(uint32_t itemNr, int paintNr, bool pselec
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (Channels[itemNr]->flags & CZapitChannel::NOT_PRESENT)
|
if (itemNr < getItemCount() && (Channels[itemNr]->flags & CZapitChannel::NOT_PRESENT))
|
||||||
color = COL_MENUCONTENTINACTIVE_TEXT;
|
color = COL_MENUCONTENTINACTIVE_TEXT;
|
||||||
else
|
else
|
||||||
color = COL_MENUCONTENT_TEXT;
|
color = COL_MENUCONTENT_TEXT;
|
||||||
|
Reference in New Issue
Block a user