Merge pull request #442 from softrabbit/bug440

Export: check for end of export in ticks, not in tacts.
This commit is contained in:
Tobias Doerffel
2014-03-12 21:57:48 +01:00

View File

@@ -170,12 +170,12 @@ public:
if ( m_exportLoop )
{
return m_exporting == true &&
m_playPos[Mode_PlaySong].getTact() >= length();
m_playPos[Mode_PlaySong].getTicks() >= length() * ticksPerTact();
}
else
{
return m_exporting == true &&
m_playPos[Mode_PlaySong].getTact() >= length() + 1;
m_playPos[Mode_PlaySong].getTicks() >= ( length() + 1 ) * ticksPerTact();
}
}