CBEChannelWidget: use int instead float, is unnecessary here

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8b4cff7146
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-15 (Mon, 15 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2013-07-15 14:55:35 +02:00
parent bbc20e8d51
commit 767be3fb41

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