From 5fd9eaa9fce0a6fda96afad16efdbc570271c4f1 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 27 Jan 2020 13:52:15 +0100 Subject: [PATCH] lcd4l:fix comil warninig Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4b434ac2788e23669b27b46b8e74ff589bd11af3 Author: Jacek Jendrzej Date: 2020-01-27 (Mon, 27 Jan 2020) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/lcd4l.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/lcd4l.cpp b/src/driver/lcd4l.cpp index 3bbae740c..8621eff89 100644 --- a/src/driver/lcd4l.cpp +++ b/src/driver/lcd4l.cpp @@ -844,7 +844,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun) CSectionsdClient::CurrentNextInfo CurrentNext; CEitManager::getInstance()->getCurrentNextServiceKey(channel_id, CurrentNext); - if (CSectionsdClient::epgflags::has_current) + if (CurrentNext.flags & CSectionsdClient::epgflags::has_current) { if (!CurrentNext.current_name.empty()) Event = CurrentNext.current_name; @@ -877,7 +877,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun) snprintf(Start, sizeof(Start), "%02d:%02d", tm_struct->tm_hour, tm_struct->tm_min); } - if (CSectionsdClient::epgflags::has_next) + if (CurrentNext.flags & CSectionsdClient::epgflags::has_next) { Event += "\n" + CurrentNext.next_name; time_t next_start_time = CurrentNext.next_zeit.startzeit;