summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-06-11 17:12:29 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-06-11 17:12:29 +0000
commitf38882ba43697c263502892c73fcfd1e4e24a266 (patch)
tree9f9d679ffee34ffc6d311a1beebadbbd673206a2
parent6a1dc5467c9d6a145cdad476075ec493053eed14 (diff)
commit patch from colinf to just err, rather than abort, if ::truncate_start() is called on an empty automation list
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@9705 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/automation_event.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/automation_event.cc b/libs/ardour/automation_event.cc
index 2f35fa3345..50942f9c43 100644
--- a/libs/ardour/automation_event.cc
+++ b/libs/ardour/automation_event.cc
@@ -913,10 +913,9 @@ AutomationList::truncate_start (double overall_length)
double first_legal_coordinate;
if (events.empty()) {
- fatal << _("programming error:")
+ cerr << _("programming error:")
<< "AutomationList::truncate_start() called on an empty list"
- << endmsg;
- /*NOTREACHED*/
+ << endmsg;
return;
}