"Fix" Crash on unended hold notes.
This commit is contained in:
@@ -247,9 +247,8 @@ namespace
|
||||
|
||||
/* If iDuration is 0, we'd end up overwriting the head with the tail
|
||||
* (and invalidating our iterator). Empty hold notes aren't valid. */
|
||||
ASSERT( tn.iDuration != 0 );
|
||||
|
||||
inout.SetTapNote( t, iRow + tn.iDuration, tail );
|
||||
if( tn.iDuration != 0 )
|
||||
inout.SetTapNote( t, iRow + tn.iDuration, tail );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user