Skip to content

Commit

Permalink
Fix typo leading to missing LV2 files
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 30, 2023
1 parent ac8eaf4 commit 2523e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/backend/plugin/CarlaPluginLV2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7745,7 +7745,7 @@ class CarlaPluginLV2 : public CarlaPlugin,
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);
Expand All @@ -7758,7 +7758,7 @@ class CarlaPluginLV2 : public CarlaPlugin,
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);
Expand Down

0 comments on commit 2523e36

Please sign in to comment.