mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Fix empty last ending
This commit is contained in:
parent
92cc5cd957
commit
909201cf5d
|
@ -1127,7 +1127,9 @@ size_t VLSong::EmptyEnding() const
|
||||||
{
|
{
|
||||||
size_t full = fMeasures.size();
|
size_t full = fMeasures.size();
|
||||||
|
|
||||||
while (full-- && fMeasures[full].IsEmpty())
|
while (full-- && fMeasures[full].IsEmpty()
|
||||||
|
&& !DoesEndRepeat(full+1, 0) && !DoesEndEnding(full+1, 0, 0)
|
||||||
|
)
|
||||||
;
|
;
|
||||||
|
|
||||||
return fMeasures.size()-(full+1);
|
return fMeasures.size()-(full+1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user