From 0a19e395ef531bab68f4772618fee7614ef11e26 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Jun 2008 21:05:06 +0000 Subject: Fix compilation on b0ef's crackheaded computer. git-svn-id: http://svn.drobilla.net/lad/ingen@1261 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/LADSPANode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs') diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp index 7a1faac0..ae35cd43 100644 --- a/src/libs/engine/LADSPANode.cpp +++ b/src/libs/engine/LADSPANode.cpp @@ -190,13 +190,13 @@ LADSPANode::instantiate() assert(_ports->at(j) == port); // Work around broke-ass crackhead plugins - if (default_val && default_val.get() < min) { + if (default_val && default_val.get() < min.get()) { cerr << "WARNING: Broken LADSPA " << _descriptor->UniqueID << ": Port default < minimum. Minimum adjusted." << endl; min = default_val; } - if (default_val && default_val.get() > max) { + if (default_val && default_val.get() > max.get()) { cerr << "WARNING: Broken LADSPA " << _descriptor->UniqueID << ": Maximum adjusted." << endl; max = default_val; -- cgit v1.2.1