From 2523e36125f8a684d4ec2afe0865f3f2efced288 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 30 Sep 2023 10:44:19 +0200 Subject: [PATCH] Fix typo leading to missing LV2 files Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginLV2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/backend/plugin/CarlaPluginLV2.cpp b/source/backend/plugin/CarlaPluginLV2.cpp index f9a2dfd96..d4d17ce20 100644 --- a/source/backend/plugin/CarlaPluginLV2.cpp +++ b/source/backend/plugin/CarlaPluginLV2.cpp @@ -7745,7 +7745,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); @@ -7758,7 +7758,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);