Browse Source

Fix build

gh-pages
falkTX 11 years ago
parent
commit
905dcc3965
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      distrho/src/DistrhoPluginInternal.hpp
  2. +1
    -1
      distrho/src/DistrhoPluginLV2.cpp

+ 1
- 1
distrho/src/DistrhoPluginInternal.hpp View File

@@ -303,7 +303,7 @@ public:

void setState(const char* const key, const char* const value)
{
DISTRHO_SAFE_ASSERT_RETURN(fData != nullptr && index < fData->stateCount,);
DISTRHO_SAFE_ASSERT_RETURN(fData != nullptr,);
DISTRHO_SAFE_ASSERT_RETURN(key != nullptr && key[0] != '\0',);
DISTRHO_SAFE_ASSERT_RETURN(value != nullptr,);



+ 1
- 1
distrho/src/DistrhoPluginLV2.cpp View File

@@ -764,7 +764,7 @@ private:
fPlugin.setState(key, newValue);

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

// check if key already exists


Loading…
Cancel
Save