diff options
author | David Robillard <d@drobilla.net> | 2009-02-19 19:42:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-19 19:42:25 +0000 |
commit | 75c15679bf1551dcb93d4fa62075517c66d3b222 (patch) | |
tree | 8a101d994120ee09c3560aebe99b7e565a137d1f /gtk2_ardour/crossfade_edit.h | |
parent | c006ff176250a01621437907652ef012789dba2f (diff) |
Only create a Curve for an AutomationList if we need it.
Fix crash on crossfade editor show (ticket 2442).
git-svn-id: svn://localhost/ardour2/branches/3.0@4641 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_edit.h')
-rw-r--r-- | gtk2_ardour/crossfade_edit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/crossfade_edit.h b/gtk2_ardour/crossfade_edit.h index f7f607393f..685dc43772 100644 --- a/gtk2_ardour/crossfade_edit.h +++ b/gtk2_ardour/crossfade_edit.h @@ -96,8 +96,7 @@ class CrossfadeEditor : public ArdourDialog void move_to (double x, double y, double xfract, double yfract); }; - struct PointSorter - { + struct PointSorter { bool operator() (const CrossfadeEditor::Point* a, const CrossfadeEditor::Point *b) { return a->x < b->x; } |