CChannelList: use matching datatype for color

This commit is contained in:
2013-07-15 15:06:25 +02:00
parent 8b4cff7146
commit 72c4deb17c

View File

@@ -1886,7 +1886,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
CZapitChannel* chan = chanlist[curr]; CZapitChannel* chan = chanlist[curr];
int prg_offset=0; int prg_offset=0;
int title_offset=0; int title_offset=0;
uint8_t tcolor=(liststart + pos == selected) ? color : COL_MENUCONTENTINACTIVE_TEXT; fb_pixel_t tcolor=(liststart + pos == selected) ? color : COL_MENUCONTENTINACTIVE_TEXT;
int xtheight=fheight-2; int xtheight=fheight-2;
if(g_settings.channellist_extended) if(g_settings.channellist_extended)