From 6bd097cc351655ce61e6cfe5490ff7253be044ea Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 5 May 2012 14:16:13 +0000 Subject: fix up unexpected situation with fontconfig in our packages git-svn-id: svn://localhost/ardour2/branches/3.0@12190 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/curvetest.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk2_ardour/curvetest.cc') diff --git a/gtk2_ardour/curvetest.cc b/gtk2_ardour/curvetest.cc index 498ed45eba..b3431e3f39 100644 --- a/gtk2_ardour/curvetest.cc +++ b/gtk2_ardour/curvetest.cc @@ -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; -- cgit v1.2.3