fix terrible typo

Origin commit data
------------------
Branch: ni/coolstream
Commit: fe78bf0580
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-02-14 (Thu, 14 Feb 2013)

Origin message was:
------------------
- fix terrible typo

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-02-14 19:16:54 +01:00
parent 8bd6190170
commit 2b9e5b9bd9
2 changed files with 5 additions and 5 deletions

View File

@@ -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;}
};

View File

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