From b62fc06ad1f56bbe271b107acefbab529e8c2ba1 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 1 Dec 2015 12:11:29 +0100 Subject: [PATCH] moviebrowser: re-add missig comparator (msg ==) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/88bd3fa308347b1d4765d638c762be92d727ea27 Author: vanhofen Date: 2015-12-01 (Tue, 01 Dec 2015) Origin message was: ------------------ - moviebrowser: re-add missig comparator (msg ==) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/moviebrowser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index 1298eaf4f..fcbcaffdf 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -2031,9 +2031,9 @@ bool CMovieBrowser::onButtonPressLastPlayList(neutrino_msg_t msg) m_pcLastPlay->scrollLineUp(1); else if (msg == CRCInput::RC_down) m_pcLastPlay->scrollLineDown(1); - else if ((neutrino_msg_t)g_settings.key_pageup) + else if (msg == (neutrino_msg_t)g_settings.key_pageup) m_pcLastPlay->scrollPageUp(1); - else if ((neutrino_msg_t)g_settings.key_pagedown) + else if (msg == (neutrino_msg_t)g_settings.key_pagedown) m_pcLastPlay->scrollPageDown(1); else if (msg == CRCInput::RC_play) markItem(m_pcLastPlay); @@ -2055,9 +2055,9 @@ bool CMovieBrowser::onButtonPressLastRecordList(neutrino_msg_t msg) m_pcLastRecord->scrollLineUp(1); else if (msg == CRCInput::RC_down) m_pcLastRecord->scrollLineDown(1); - else if ((neutrino_msg_t)g_settings.key_pageup) + else if (msg == (neutrino_msg_t)g_settings.key_pageup) m_pcLastRecord->scrollPageUp(1); - else if ((neutrino_msg_t)g_settings.key_pagedown) + else if (msg == (neutrino_msg_t)g_settings.key_pagedown) m_pcLastRecord->scrollPageDown(1); else if (msg == CRCInput::RC_play) markItem(m_pcLastRecord);