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

(i.e. channel list empty)


Origin commit data
------------------
Commit: 755ddcb3da
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-10-22 (Mon, 22 Oct 2012)
This commit is contained in:
[CST] Focus
2012-10-22 11:03:05 +04:00
parent 651c4f4de9
commit e598ef45be

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);