Browse Source

Fix typo leading to missing LV2 files

Signed-off-by: falkTX <falktx@falktx.com>
pull/1805/head
falkTX 1 year ago
parent
commit
b493bb8a58
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/backend/plugin/CarlaPluginLV2.cpp

+ 2
- 2
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -7778,7 +7778,7 @@ private:
carla_debug("carla_lv2_state_map_to_abstract_path_real(%p, \"%s\")", handle, absolute_path);

// handle invalid empty paths the same way as lilv
if (absolute_path[0] != '\0')
if (absolute_path[0] == '\0')
return strdup("");

return ((CarlaPluginLV2*)handle)->handleStateMapToAbstractPath(false, absolute_path);
@@ -7791,7 +7791,7 @@ private:
carla_debug("carla_lv2_state_map_to_abstract_path_tmp(%p, \"%s\")", handle, absolute_path);

// handle invalid empty paths the same way as lilv
if (absolute_path[0] != '\0')
if (absolute_path[0] == '\0')
return strdup("");

return ((CarlaPluginLV2*)handle)->handleStateMapToAbstractPath(true, absolute_path);


Loading…
Cancel
Save