gui/streaminfo2.cpp: fix empty paint on fta channels

Origin commit data
------------------
Commit: 9176132ed4
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-09 (Mon, 09 Mar 2015)
This commit is contained in:
[CST] Focus
2015-03-09 13:53:06 +03:00
parent 0e10c8e21d
commit 7f97b55adf

View File

@@ -702,7 +702,7 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
{ {
unsigned short i; unsigned short i;
int box_width = width*2/3-10; int box_width = width*2/3-10;
if (box_h2 > 0) if (box_h2 > ypos+(iheight*2))
frameBuffer->paintBox(0, ypos+(iheight*2), box_width, box_h2, COL_MENUHEAD_PLUS_0); frameBuffer->paintBox(0, ypos+(iheight*2), box_width, box_h2, COL_MENUHEAD_PLUS_0);
std::string casys[NUM_CAIDS]={"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","EBU:","XCrypt:","PowerVU:"}; std::string casys[NUM_CAIDS]={"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","EBU:","XCrypt:","PowerVU:"};