mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
timerlist: fix compiler-warning (comparison signed/unsigned int)
(cherry picked from commit3b84c0a7ae
) Signed-off-by: Thilo Graf <dbt@novatux.de> Origin commit data ------------------ Commit:033d6bb359
Author: vanhofen <vanhofen@gmx.de> Date: 2017-06-26 (Mon, 26 Jun 2017) Origin message was: ------------------ - timerlist: fix compiler-warning (comparison signed/unsigned int) (cherry picked from commit3b84c0a7ae
) Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1161,7 +1161,7 @@ void CTimerList::paintItem(int pos)
|
|||||||
frameBuffer->paintBoxRel(x, ypos, real_width, item_height, COL_MENUCONTENT_PLUS_0);
|
frameBuffer->paintBoxRel(x, ypos, real_width, item_height, COL_MENUCONTENT_PLUS_0);
|
||||||
frameBuffer->paintBoxRel(x, ypos, real_width, item_height, bgcolor, i_radius);
|
frameBuffer->paintBoxRel(x, ypos, real_width, item_height, bgcolor, i_radius);
|
||||||
// separationline
|
// separationline
|
||||||
frameBuffer->paintHLineRel(x, real_width, ypos + item_height - 1, (pos + 1 == listmaxshow) ? bgcolor : COL_MENUCONTENTDARK_PLUS_0);
|
frameBuffer->paintHLineRel(x, real_width, ypos + item_height - 1, (pos + 1 == (int) listmaxshow) ? bgcolor : COL_MENUCONTENTDARK_PLUS_0);
|
||||||
//shadow
|
//shadow
|
||||||
frameBuffer->paintBoxRel(x + width, ypos + OFFSET_SHADOW, OFFSET_SHADOW, item_height, COL_SHADOW_PLUS_0);
|
frameBuffer->paintBoxRel(x + width, ypos + OFFSET_SHADOW, OFFSET_SHADOW, item_height, COL_SHADOW_PLUS_0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user