From a48e7fa200e77215ca0a2fcdbb4af56349c68c84 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Sun, 19 May 2013 05:36:52 +0200 Subject: [PATCH] * CChannelList: prevent possible compile error --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 75b8da6b9..bfd7dcebf 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -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 );