remove unneeded code in line_drag that was probably copy/pasted from control_point_dr...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 2 Mar 2009 18:13:20 +0000 (18:13 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 2 Mar 2009 18:13:20 +0000 (18:13 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4717 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/automation_list.cc
libs/ardour/template_utils.cc

index 4098301eaa7166d747429780964c67438026eeb8..ed804d1b2c5a4cbc468ea20fded8450687f859d3 100644 (file)
@@ -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 << ' ';
index 93bfd46972d037b393b092745fdf8123a3868747..ae7f653fb8abf405c0f222752c08cc6410c0e540 100644 (file)
@@ -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();