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