glcd.cpp: fix Warnung: enum-Konstante in booleschem Zusammenhang

Origin commit data
------------------
Branch: ni/coolstream
Commit: fb4ff86ef3
Author: max_10 <max_10@gmx.de>
Date: 2022-11-20 (Sun, 20 Nov 2022)

Origin message was:
------------------
- glcd.cpp: fix Warnung: enum-Konstante in booleschem Zusammenhang

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

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2022-11-20 22:13:22 +01:00
committed by vanhofen
parent a79f771f5e
commit caf952a9d7

View File

@@ -1110,7 +1110,7 @@ void cGLCD::Run(void)
scrollEpgOffset = 0;
}
if (CSectionsdClient::epgflags::has_current)
if (info_CurrentNext.flags & CSectionsdClient::epgflags::has_current)
{
if ((info_CurrentNext.current_zeit.dauer > 0) && (info_CurrentNext.current_zeit.dauer < 86400))
{
@@ -1137,7 +1137,7 @@ void cGLCD::Run(void)
Start = stagingStart = tmp_start;
}
if (CSectionsdClient::epgflags::has_next)
if (info_CurrentNext.flags & CSectionsdClient::epgflags::has_next)
{
char tmp_end[6] = {0};
tm = localtime(&info_CurrentNext.next_zeit.startzeit);