mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
CTimeOSD: Fix compiler warning "suggest parentheses around '&&' within '||'"
This commit is contained in:
@@ -96,7 +96,7 @@ void CTimeOSD::initTimeString()
|
||||
void CTimeOSD::show(time_t time_show, bool force)
|
||||
{
|
||||
time_show /= 1000;
|
||||
if (!force && (m_mode == MODE_HIDE || m_time_show == time_show) || CScreenSaver::getInstance()->IsRun())
|
||||
if (!force && (m_mode == MODE_HIDE || m_time_show == time_show || CScreenSaver::getInstance()->IsRun()))
|
||||
return;
|
||||
m_time_show = time_show;
|
||||
|
||||
|
Reference in New Issue
Block a user