mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Fix wacky return type.
This commit is contained in:
parent
82be2325d9
commit
db1fc6c3fa
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ AutomationStreamView::paste (framepos_t pos,
|
||||||
|
|
||||||
/* If *prev doesn't cover pos, it's no good */
|
/* If *prev doesn't cover pos, it's no good */
|
||||||
if (r->position() > pos || ((r->position() + r->length()) < pos)) {
|
if (r->position() > pos || ((r->position() + r->length()) < pos)) {
|
||||||
return boost::shared_ptr<AutomationLine> ();
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*> (*prev);
|
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*> (*prev);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue