Revert "use newly added operator bool() for Evoral::Beats rather than double-negation as boolean"
This reverts commit a19902b52f08bf33c54e60dfb49c44a1c154f4c9. OS X compiler gets confused by this change.
This commit is contained in:
parent
9c84633eb4
commit
c4c7dc0086
@ -2987,7 +2987,7 @@ MidiRegionView::trim_note (NoteBase* event, Evoral::Beats front_delta, Evoral::B
|
||||
if negative - move the end of the note earlier in time (shortening it)
|
||||
*/
|
||||
|
||||
if (front_delta) {
|
||||
if (!!front_delta) {
|
||||
if (front_delta < 0) {
|
||||
|
||||
if (event->note()->time() < -front_delta) {
|
||||
|
Loading…
Reference in New Issue
Block a user