From a65a63982d126f4e35396275e2aebb4150b25adb Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 3 Nov 2017 09:36:19 +0100 Subject: [PATCH] - fix -Wlogical-op errors Signed-off-by: Thilo Graf --- src/neutrino.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 2313fec6a..229fb8436 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4061,7 +4061,7 @@ void CNeutrinoApp::tvMode( bool rezap ) CRecordManager::getInstance()->StopAutoRecord(); } #endif - if (mode != mode_webtv || mode != mode_webradio) { + if (mode != mode_webtv && mode != mode_webradio) { frameBuffer->useBackground(false); frameBuffer->paintBackground(); } @@ -4309,7 +4309,7 @@ void CNeutrinoApp::radioMode( bool rezap) #endif CRecordManager::getInstance()->StopAutoRecord(); - if (mode != mode_webtv || mode != mode_webradio) { + if (mode != mode_webtv && mode != mode_webradio) { frameBuffer->useBackground(false); frameBuffer->paintBackground(); }