Browse Source

Allow non-absolute paths for jack applications

Signed-off-by: falkTX <falktx@gmail.com>
tags/v2.1-alpha2
falkTX 5 years ago
parent
commit
cb44413956
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/engine/CarlaEngine.cpp

+ 1
- 1
source/backend/engine/CarlaEngine.cpp View File

@@ -366,7 +366,7 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype,
carla_debug("CarlaEngine::addPlugin(%i:%s, %i:%s, \"%s\", \"%s\", \"%s\", " P_INT64 ", %p, %u)", btype, BinaryType2Str(btype), ptype, PluginType2Str(ptype), filename, name, label, uniqueId, extra, options);

#ifndef CARLA_OS_WIN
if (filename != nullptr && filename[0] != '\0') {
if (ptype != PLUGIN_JACK && filename != nullptr && filename[0] != '\0') {
CARLA_SAFE_ASSERT_RETURN_ERR(filename[0] == CARLA_OS_SEP || filename[0] == '.' || filename[0] == '~', "Invalid plugin filename");
}
#endif


Loading…
Cancel
Save