From b493bb8a5862130c57a7cf9c5691b1cbb07598af 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 fcd2715bd..07016d675 100644 --- a/source/backend/plugin/CarlaPluginLV2.cpp +++ b/source/backend/plugin/CarlaPluginLV2.cpp @@ -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);