mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
* CChannelList: prevent possible compile error
This commit is contained in:
@@ -2266,7 +2266,7 @@ void CChannelList::paint_events(int index)
|
|||||||
if (e->eventID)
|
if (e->eventID)
|
||||||
{
|
{
|
||||||
first = (i == 1);
|
first = (i == 1);
|
||||||
if ((first) && (g_settings.colored_events_channellist == 1 /* current */) || (!first) && (g_settings.colored_events_channellist == 2 /* next */))
|
if ((first && g_settings.colored_events_channellist == 1 /* current */) || (!first && g_settings.colored_events_channellist == 2 /* next */))
|
||||||
color = COL_COLORED_EVENTS_CHANNELLIST;
|
color = COL_COLORED_EVENTS_CHANNELLIST;
|
||||||
struct tm *tmStartZeit = localtime(&e->startTime);
|
struct tm *tmStartZeit = localtime(&e->startTime);
|
||||||
strftime(startTime, sizeof(startTime), "%H:%M", tmStartZeit );
|
strftime(startTime, sizeof(startTime), "%H:%M", tmStartZeit );
|
||||||
|
Reference in New Issue
Block a user