From e330279e6185612acd73e43012f9b0ce0ce48698 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Tue, 5 Mar 2019 21:50:03 +0100 Subject: [PATCH] fix logic Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/59bb162730f5b9788822cf46c1acb8233cd9e63d Author: TangoCash Date: 2019-03-05 (Tue, 05 Mar 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 39e59ea7f..dff791820 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -180,7 +180,7 @@ void CChannelList::updateEvents(unsigned int from, unsigned int to) { struct tm * timeinfo; timeinfo = localtime(&atime); - if (timeinfo->tm_hour >=20 && timeinfo->tm_min >= 30) + if ((timeinfo->tm_hour > 20) || (timeinfo->tm_hour == 20 && timeinfo->tm_min >= 30)) timeinfo->tm_mday += 1; timeinfo->tm_hour = 19; timeinfo->tm_min = 59;