From ac084fb2d64a6446f46b9c5b96d33bf4ba80f5bc Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 27 Oct 2013 04:56:05 +0000 Subject: [PATCH] 1 more --- source/discovery/carla-discovery.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/discovery/carla-discovery.cpp b/source/discovery/carla-discovery.cpp index 6dbf9e195..3d07a3e10 100644 --- a/source/discovery/carla-discovery.cpp +++ b/source/discovery/carla-discovery.cpp @@ -1636,6 +1636,9 @@ int main(int argc, char* argv[]) const ScopedWorkingDirSet swds(filename); + CarlaString filenameStr(filename); + filenameStr.toLower(); + bool openLib = false; void* handle = nullptr; @@ -1660,9 +1663,6 @@ int main(int argc, char* argv[]) return 1; } - CarlaString filenameStr(filename); - filenameStr.toLower(); - if (filenameStr.contains("fluidsynth", true)) { DISCOVERY_OUT("info", "skipping fluidsynth based plugin");