Browse Source

Fix previous commit

tags/1.9.7
falkTX 9 years ago
parent
commit
757fe21281
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginVST2.cpp

+ 1
- 1
source/backend/plugin/CarlaPluginVST2.cpp View File

@@ -272,7 +272,7 @@ public:
VstParameterProperties prop;
carla_zeroStruct(prop);

if (dispatcher(effGetParameterProperties, static_cast<int32_t>(parameterId), 0, &prop, 0) == 1)
if (dispatcher(effGetParameterProperties, static_cast<int32_t>(parameterId), 0, &prop, 0) == 1 && prop.label[0] != '\0')
{
std::strncpy(strBuf, prop.label, 64);
strBuf[64] = '\0';


Loading…
Cancel
Save