|
|
@@ -789,7 +789,7 @@ public: |
|
|
|
CARLA_SAFE_ASSERT_RETURN(type != nullptr && type[0] != '\0',); |
|
|
|
CARLA_SAFE_ASSERT_RETURN(key != nullptr && key[0] != '\0',); |
|
|
|
CARLA_SAFE_ASSERT_RETURN(value != nullptr,); |
|
|
|
carla_debug("CarlaPluginNative::setCustomData(%s, %s, ..., %s)", type, key, bool2str(sendGui)); |
|
|
|
carla_debug("CarlaPluginNative::setCustomData(\"%s\", \"%s\", ..., %s)", type, key, bool2str(sendGui)); |
|
|
|
|
|
|
|
if (std::strcmp(type, CUSTOM_DATA_TYPE_PROPERTY) == 0) |
|
|
|
return CarlaPlugin::setCustomData(type, key, value, sendGui); |
|
|
@@ -801,7 +801,7 @@ public: |
|
|
|
} |
|
|
|
else if (std::strcmp(type, CUSTOM_DATA_TYPE_STRING) != 0 && std::strcmp(type, CUSTOM_DATA_TYPE_CHUNK) != 0) |
|
|
|
{ |
|
|
|
return carla_stderr2("CarlaPluginNative::setCustomData(\"%s\", \"%s\", \"%s\", %s) - type is invalid xa", |
|
|
|
return carla_stderr2("CarlaPluginNative::setCustomData(\"%s\", \"%s\", \"%s\", %s) - type is invalid", |
|
|
|
type, key, value, bool2str(sendGui)); |
|
|
|
} |
|
|
|
|
|
|
|