CTimeOSD: Fix compiler warning "suggest parentheses around '&&' within '||'"

This commit is contained in:
M. Liebmann
2016-01-10 23:00:13 +01:00
parent 2ea0c1c136
commit 3dd2ff8a4a

View File

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