mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
fix possible segfault if chanellist is empty
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5bfbae4ca9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-08-13 (Thu, 13 Aug 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1820,6 +1820,9 @@ void CChannelList::paintButtonBar(bool is_current)
|
||||
|
||||
void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
{
|
||||
if( (*chanlist).empty() ){
|
||||
return;
|
||||
}
|
||||
int ypos = y+ theight + pos*fheight;
|
||||
fb_pixel_t color;
|
||||
fb_pixel_t bgcolor;
|
||||
|
Reference in New Issue
Block a user