Update about.cc
[ardour.git] / gtk2_ardour / curvetest.cc
index 498ed45eba958cdbef3d62598dfbdb05a827f59d..b3431e3f395ad128b09f973f2b4b63d0024f7b99 100644 (file)
@@ -32,6 +32,11 @@ using namespace PBD;
 int
 curvetest (string filename)
 {
+       // needed to initialize ID objects/counter used
+       // by Curve et al.
+
+       PBD::ID::init ();
+
        ifstream in (filename.c_str());
        stringstream line;
        //Evoral::Parameter param(GainAutomation, -1.0, +1.0, 0.0);
@@ -40,11 +45,6 @@ curvetest (string filename)
        double minx = DBL_MAX;
        double maxx = DBL_MIN;
 
-       // needed to initialize ID objects/counter used
-       // by Curve et al.
-
-       PBD::ID::init ();
-
        while (in) {
                double x, y;