Partial fix to karaoke mode

Originally committed to SVN as r76.
This commit is contained in:
Rodrigo Braz Monteiro 2006-02-19 06:05:15 +00:00
parent df6071d1e6
commit fd0cd9c045
2 changed files with 3 additions and 3 deletions

View file

@ -1631,7 +1631,7 @@ void AudioDisplay::Next() {
CommitChanges(); CommitChanges();
} }
else if (result == wxCANCEL) { else if (result == wxCANCEL) {
karaoke->curSyllable--; karaoke->curSyllable = karaoke->syllables.size()-1;
return; return;
} }
} }
@ -1669,7 +1669,7 @@ void AudioDisplay::Prev() {
CommitChanges(); CommitChanges();
} }
else if (result == wxCANCEL) { else if (result == wxCANCEL) {
karaoke->curSyllable++; karaoke->curSyllable = 0;
return; return;
} }
} }

View file

@ -37,5 +37,5 @@
#ifdef _DEBUG #ifdef _DEBUG
#define VERSION_STRING _T("v1.10 Beta (debug)") #define VERSION_STRING _T("v1.10 Beta (debug)")
#else #else
#define VERSION_STRING _T("v1.10 Beta") #define VERSION_STRING _T("v1.10 Beta PRE-RELEASE")
#endif #endif