mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- glcd.cpp: fix Warnung: enum-Konstante in booleschem Zusammenhang
This commit is contained in:
@@ -1096,7 +1096,7 @@ void cGLCD::Run(void)
|
|||||||
scrollEpgOffset = 0;
|
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))
|
if ((info_CurrentNext.current_zeit.dauer > 0) && (info_CurrentNext.current_zeit.dauer < 86400))
|
||||||
{
|
{
|
||||||
@@ -1123,7 +1123,7 @@ void cGLCD::Run(void)
|
|||||||
Start = stagingStart = tmp_start;
|
Start = stagingStart = tmp_start;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CSectionsdClient::epgflags::has_next)
|
if (info_CurrentNext.flags & CSectionsdClient::epgflags::has_next)
|
||||||
{
|
{
|
||||||
char tmp_end[6] = {0};
|
char tmp_end[6] = {0};
|
||||||
tm = localtime(&info_CurrentNext.next_zeit.startzeit);
|
tm = localtime(&info_CurrentNext.next_zeit.startzeit);
|
||||||
|
Reference in New Issue
Block a user