13
0

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:
Paul Davis 2015-05-20 10:29:42 -04:00
parent 9c84633eb4
commit c4c7dc0086

View File

@ -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) {