CChannelList: prevent possible compile error

Origin commit data
------------------
Branch: ni/coolstream
Commit: a48e7fa200
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-19 (Sun, 19 May 2013)

Origin message was:
------------------
* CChannelList: prevent possible compile error

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

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-05-19 05:36:52 +02:00
parent efdedf8e6a
commit 4bbf0e81cd

View File

@@ -2266,7 +2266,7 @@ void CChannelList::paint_events(int index)
if (e->eventID)
{
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;
struct tm *tmStartZeit = localtime(&e->startTime);
strftime(startTime, sizeof(startTime), "%H:%M", tmStartZeit );