gui/streaminfo2.cpp: fix crash, when shown without current channel

(i.e. channel list empty)
This commit is contained in:
[CST] Focus
2012-10-22 11:03:05 +04:00
parent 2c302dc90d
commit 755ddcb3da

View File

@@ -447,6 +447,8 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
int spaceoffset = 0,i = 0;
int ypos1 = ypos;
int box_width = width*2/3 - 10;
yypos = ypos;
if(box_h > 0)
frameBuffer->paintBoxRel (0, ypos, box_width, box_h, COL_MENUHEAD_PLUS_0);