CUpnpBrowserGui: fix possible compile errot

error: suggest parentheses around ‘&&’ within ‘||’ [-Werror=parentheses]
This commit is contained in:
2017-10-08 17:48:32 +02:00
parent 3d9b7c1360
commit cbe21aade7

View File

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