CBEChannelWidget: use int instead float, is unnecessary here

This commit is contained in:
2013-07-15 14:55:35 +02:00
parent 9cfd8e675d
commit 8b4cff7146

View File

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