From cbe21aade71b95e1a90cfba249f8ec5344fa3d68 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 8 Oct 2017 17:48:32 +0200 Subject: [PATCH] CUpnpBrowserGui: fix possible compile errot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses] --- src/gui/upnpbrowser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/upnpbrowser.cpp b/src/gui/upnpbrowser.cpp index b06d3ce83..2d33021c7 100644 --- a/src/gui/upnpbrowser.cpp +++ b/src/gui/upnpbrowser.cpp @@ -869,8 +869,7 @@ bool CUpnpBrowserGui::selectItem(std::string id) m_frameBuffer->Clear(); refresh = true; } - else if (m_folderplay && (msg == (neutrino_msg_t) CRCInput::RC_prev) - || video_key_msg == CMoviePlayerGui::PLUGIN_PLAYSTATE_PREV){ + else if (m_folderplay && ((msg == (neutrino_msg_t) CRCInput::RC_prev) || video_key_msg == CMoviePlayerGui::PLUGIN_PLAYSTATE_PREV)){ timeout = 0; m_playid -= 2; if (m_playid < 0)