fix out of bounds iterator in reverse
This commit is contained in:
@@ -987,7 +987,8 @@ NoteData::_all_tracks_iterator<ND, iter, TN>::_all_tracks_iterator( ND &nd, int
|
|||||||
if( m_bReverse )
|
if( m_bReverse )
|
||||||
{
|
{
|
||||||
cur = end;
|
cur = end;
|
||||||
cur--;
|
if( cur != begin )
|
||||||
|
cur--;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user