1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Fixed a typo in recent studio one parameter workaround

This commit is contained in:
hogliux 2016-11-21 10:13:37 +00:00
parent ee373af944
commit 8a93ddc818

View file

@ -690,7 +690,7 @@ private:
paramHash &= ~(1 << (sizeof (Vst::ParamID) * 8 - 1));
#endif
return managedParameter ? static_cast<Vst::ParamID> (juceParamID.hashCode())
return managedParameter ? paramHash
: static_cast<Vst::ParamID> (juceParamID.getIntValue());
}