Fix wacky return type.
This commit is contained in:
parent
82be2325d9
commit
db1fc6c3fa
@ -342,7 +342,7 @@ AutomationStreamView::paste (framepos_t pos,
|
||||
|
||||
/* If *prev doesn't cover pos, it's no good */
|
||||
if (r->position() > pos || ((r->position() + r->length()) < pos)) {
|
||||
return boost::shared_ptr<AutomationLine> ();
|
||||
return false;
|
||||
}
|
||||
|
||||
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*> (*prev);
|
||||
|
Loading…
Reference in New Issue
Block a user