mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/streaminfo2.cpp: fix crash, when shown without current channel
(i.e. channel list empty)
This commit is contained in:
@@ -447,6 +447,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
int spaceoffset = 0,i = 0;
|
int spaceoffset = 0,i = 0;
|
||||||
int ypos1 = ypos;
|
int ypos1 = ypos;
|
||||||
int box_width = width*2/3 - 10;
|
int box_width = width*2/3 - 10;
|
||||||
|
|
||||||
|
yypos = ypos;
|
||||||
if(box_h > 0)
|
if(box_h > 0)
|
||||||
frameBuffer->paintBoxRel (0, ypos, box_width, box_h, COL_MENUHEAD_PLUS_0);
|
frameBuffer->paintBoxRel (0, ypos, box_width, box_h, COL_MENUHEAD_PLUS_0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user