projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c84633
)
Revert "use newly added operator bool() for Evoral::Beats rather than double-negation...
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 20 May 2015 14:29:42 +0000
(10:29 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:14 +0000
(14:18 -0400)
This reverts commit
a19902b52f08bf33c54e60dfb49c44a1c154f4c9
.
OS X compiler gets confused by this change.
gtk2_ardour/midi_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_region_view.cc
b/gtk2_ardour/midi_region_view.cc
index 16747693d5a3b07dfd33510018111254f48181ea..47e5510664991640a478817f41e9bd8feac063a2 100644
(file)
--- a/
gtk2_ardour/midi_region_view.cc
+++ b/
gtk2_ardour/midi_region_view.cc
@@
-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 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) {
if (front_delta < 0) {
if (event->note()->time() < -front_delta) {