projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c34ac
)
use newly added operator bool() for Evoral::Beats rather than double-negation as...
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 20 May 2015 12:16:29 +0000
(08:16 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:14 +0000
(14:18 -0400)
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 47e5510664991640a478817f41e9bd8feac063a2..16747693d5a3b07dfd33510018111254f48181ea 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 (
!!
front_delta) {
+ if (front_delta) {
if (front_delta < 0) {
if (event->note()->time() < -front_delta) {