summaryrefslogtreecommitdiff
path: root/libs/ardour/curve.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/curve.cc')
-rw-r--r--libs/ardour/curve.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/curve.cc b/libs/ardour/curve.cc
index 94b6ed8530..848e68558d 100644
--- a/libs/ardour/curve.cc
+++ b/libs/ardour/curve.cc
@@ -418,7 +418,7 @@ Curve::multipoint_eval (double x)
if (range.first == events.begin()) {
/* we're before the first point */
// return default_value;
- events.front()->value;
+ return events.front()->value;
}
if (range.second == events.end()) {