- fix terrible typo

This commit is contained in:
svenhoefer
2013-02-14 19:16:54 +01:00
parent 0986c3af8a
commit fe78bf0580
2 changed files with 5 additions and 5 deletions

View File

@@ -260,7 +260,7 @@ class CAudioPlayerGui : public CMenuTarget
void stop(); void stop();
bool playNext(bool allow_rotate = false); bool playNext(bool allow_rotate = false);
bool playPrev(bool allow_rotate = false); bool playPrev(bool allow_rotate = false);
int getAdioPayerM_currend() {return m_current;} int getAudioPlayerM_current() {return m_current;}
}; };

View File

@@ -235,7 +235,7 @@ int CPictureViewerGui::show()
bool update=true; bool update=true;
if (audioplayer) if (audioplayer)
m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); m_currentTitle = m_audioPlayer->getAudioPlayerM_current();
while (loop) while (loop)
{ {
@@ -563,17 +563,17 @@ int CPictureViewerGui::show()
// control keys for audioplayer // control keys for audioplayer
else if (audioplayer && msg==CRCInput::RC_pause) else if (audioplayer && msg==CRCInput::RC_pause)
{ {
m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); m_currentTitle = m_audioPlayer->getAudioPlayerM_current();
m_audioPlayer->pause(); m_audioPlayer->pause();
} }
else if (audioplayer && msg==CRCInput::RC_stop) else if (audioplayer && msg==CRCInput::RC_stop)
{ {
m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); m_currentTitle = m_audioPlayer->getAudioPlayerM_current();
m_audioPlayer->stop(); m_audioPlayer->stop();
} }
else if (audioplayer && msg==CRCInput::RC_play) else if (audioplayer && msg==CRCInput::RC_play)
{ {
m_currentTitle = m_audioPlayer->getAdioPayerM_currend(); m_currentTitle = m_audioPlayer->getAudioPlayerM_current();
if (m_currentTitle > -1) if (m_currentTitle > -1)
m_audioPlayer->play((unsigned int)m_currentTitle); m_audioPlayer->play((unsigned int)m_currentTitle);
} }