From 3dd2ff8a4a675e87ef341ff0b774df5ccd849638 Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Sun, 10 Jan 2016 23:00:13 +0100 Subject: [PATCH] CTimeOSD: Fix compiler warning "suggest parentheses around '&&' within '||'" --- src/gui/timeosd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/timeosd.cpp b/src/gui/timeosd.cpp index 51284dcac..309377cd9 100644 --- a/src/gui/timeosd.cpp +++ b/src/gui/timeosd.cpp @@ -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;