diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-02 18:13:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-02 18:13:20 +0000 |
commit | c21479a3aae97923e1c5f2e784784b28f8cf883e (patch) | |
tree | 543b028e185b3fb08b1f430186be3eed75119c44 | |
parent | 8f5de18c75ec803410b78aa302c77bfca457ff64 (diff) |
remove unneeded code in line_drag that was probably copy/pasted from control_point_drag (Ben Loftis, backported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@4717 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/automation_list.cc | 2 | ||||
-rw-r--r-- | libs/ardour/template_utils.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc index 4098301eaa..ed804d1b2c 100644 --- a/libs/ardour/automation_list.cc +++ b/libs/ardour/automation_list.cc @@ -282,6 +282,8 @@ AutomationList::serialize_events () XMLNode* node = new XMLNode (X_("events")); stringstream str; + str.precision(15); //10 digits is enough digits for 24 hours at 96kHz + for (iterator xx = _events.begin(); xx != _events.end(); ++xx) { str << (double) (*xx)->when; str << ' '; diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc index 93bfd46972..ae7f653fb8 100644 --- a/libs/ardour/template_utils.cc +++ b/libs/ardour/template_utils.cc @@ -88,7 +88,7 @@ find_route_templates (vector<RouteTemplateInfo>& template_names) XMLTree tree; if (!tree.read (fullpath.c_str())) { - continue; + continue; } XMLNode* root = tree.root(); |