Fix build
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
c8772d4654
commit
76828eea6b
2 changed files with 3 additions and 3 deletions
2
dpf
2
dpf
|
@ -1 +1 @@
|
|||
Subproject commit 7d4e299e4397fcdf7cf307c97897678550e60c00
|
||||
Subproject commit cd1861ae893c21045e9f47245bf41cabca7d5f2f
|
|
@ -602,10 +602,10 @@ struct CardinalMIDIMapChoice : CardinalLedDisplayChoice {
|
|||
ParamHandle* const paramHandle = &module->paramHandles[id];
|
||||
|
||||
Module* const paramModule = paramHandle->module;
|
||||
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN(paramModule != nullptr, "error");
|
||||
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN("paramModule is null", paramModule != nullptr, "error");
|
||||
|
||||
const int paramId = paramHandle->paramId;
|
||||
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN(paramId < (int) paramModule->params.size(), "error");
|
||||
DISTRHO_CUSTOM_SAFE_ASSERT_ONCE_RETURN("paramId is out of bounds", paramId < (int) paramModule->params.size(), "error");
|
||||
|
||||
ParamQuantity* const paramQuantity = paramModule->paramQuantities[paramId];
|
||||
std::string s = paramQuantity->name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue