mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user