diff --git a/src/gui/audioplayer.h b/src/gui/audioplayer.h index daba3d8a9..e4f0c6894 100644 --- a/src/gui/audioplayer.h +++ b/src/gui/audioplayer.h @@ -260,7 +260,7 @@ class CAudioPlayerGui : public CMenuTarget void stop(); bool playNext(bool allow_rotate = false); bool playPrev(bool allow_rotate = false); - int getAdioPayerM_currend() {return m_current;} + int getAudioPlayerM_current() {return m_current;} }; diff --git a/src/gui/pictureviewer.cpp b/src/gui/pictureviewer.cpp index 4dbd38422..44b4a8bcb 100644 --- a/src/gui/pictureviewer.cpp +++ b/src/gui/pictureviewer.cpp @@ -235,7 +235,7 @@ int CPictureViewerGui::show() bool update=true; if (audioplayer) - m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); + m_currentTitle = m_audioPlayer->getAudioPlayerM_current(); while (loop) { @@ -563,17 +563,17 @@ int CPictureViewerGui::show() // control keys for audioplayer else if (audioplayer && msg==CRCInput::RC_pause) { - m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); + m_currentTitle = m_audioPlayer->getAudioPlayerM_current(); m_audioPlayer->pause(); } else if (audioplayer && msg==CRCInput::RC_stop) { - m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); + m_currentTitle = m_audioPlayer->getAudioPlayerM_current(); m_audioPlayer->stop(); } else if (audioplayer && msg==CRCInput::RC_play) { - m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); + m_currentTitle = m_audioPlayer->getAudioPlayerM_current(); if (m_currentTitle > -1) m_audioPlayer->play((unsigned int)m_currentTitle); }