Browse Source

Fix typo leading to missing LV2 files

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.7
falkTX 1 year ago
parent
commit
2523e36125
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

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


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


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


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


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


Loading…
Cancel
Save