mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
CBEChannelWidget: use int instead float, is unnecessary here
This commit is contained in:
@@ -163,7 +163,7 @@ void CBEChannelWidget::paint()
|
||||
if (sbc < 1)
|
||||
sbc = 1;
|
||||
|
||||
float sbh= (sb- 4)/ sbc;
|
||||
int sbh= (sb- 4)/ sbc;
|
||||
int sbs= (selected/listmaxshow);
|
||||
|
||||
frameBuffer->paintBoxRel(x+ width- 13, ypos+ 2+ int(sbs* sbh) , 11, int(sbh), COL_MENUCONTENT_PLUS_3);
|
||||
|
Reference in New Issue
Block a user