lcd4l:fix comil warninig

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b434ac278
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-01-27 (Mon, 27 Jan 2020)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2020-01-27 13:52:15 +01:00
parent 23d71677c8
commit 5fd9eaa9fc

View File

@@ -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;