Browse Source

same fix for vst

gh-pages
falkTX 10 years ago
parent
commit
00642a44e8
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      distrho/src/DistrhoPluginVST.cpp

+ 5
- 1
distrho/src/DistrhoPluginVST.cpp View File

@@ -752,6 +752,10 @@ private:
{
fPlugin.setState(newKey, newValue);

// check if we want to save this key
if (! fPlugin.wantsStateKey(key))
return;

// check if key already exists
for (auto it = fStateMap.begin(), end = fStateMap.end(); it != end; ++it)
{
@@ -764,7 +768,7 @@ private:
}
}

// add a new one then
// nope, add a new one then
d_string d_key(newKey);
fStateMap[d_key] = newValue;
}


Loading…
Cancel
Save