diff options
author | David Robillard <d@drobilla.net> | 2008-06-09 21:05:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-06-09 21:05:06 +0000 |
commit | 0a19e395ef531bab68f4772618fee7614ef11e26 (patch) | |
tree | 9162129634fbdc1bb1604175a440d0565ded158e /src | |
parent | 2b662dd993c1cce712148765c953dfaf92390a01 (diff) | |
download | ingen-0a19e395ef531bab68f4772618fee7614ef11e26.tar.gz ingen-0a19e395ef531bab68f4772618fee7614ef11e26.tar.bz2 ingen-0a19e395ef531bab68f4772618fee7614ef11e26.zip |
Fix compilation on b0ef's crackheaded computer.
git-svn-id: http://svn.drobilla.net/lad/ingen@1261 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/engine/LADSPANode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |