diff options
Diffstat (limited to 'src/engine/NodeFactory.cpp')
-rw-r--r-- | src/engine/NodeFactory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/NodeFactory.cpp b/src/engine/NodeFactory.cpp index 87b54d81..5ff21c04 100644 --- a/src/engine/NodeFactory.cpp +++ b/src/engine/NodeFactory.cpp @@ -20,6 +20,7 @@ #include <dirent.h> #include <float.h> #include <cmath> +#include <glibmm/miscutils.h> #include "redlandmm/World.hpp" #include "raul/log.hpp" #include "raul/Atom.hpp" @@ -223,7 +224,7 @@ NodeFactory::load_ladspa_plugins() if (!strcmp(pfile->d_name, ".") || !strcmp(pfile->d_name, "..")) continue; - const string lib_path = dir +"/"+ pfile->d_name; + const string lib_path = Glib::build_filename(dir, pfile->d_name); // Ignore stupid libtool files. Kludge alert. if (lib_path.substr(lib_path.length()-3) == ".la") |