summaryrefslogtreecommitdiffstats
path: root/src/module/Module.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-19 21:36:38 +0000
committerDavid Robillard <d@drobilla.net>2008-10-19 21:36:38 +0000
commit5353b8c88e3c82812e41e3411d1085e0dd481a1b (patch)
treeac2aed59660324784d2d81da2b3b93f0a0e72888 /src/module/Module.cpp
parent7b2b8aaa0c810909922b662729774befc05e061e (diff)
downloadingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.tar.gz
ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.tar.bz2
ingen-5353b8c88e3c82812e41e3411d1085e0dd481a1b.zip
Make ingen actually run again :)
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1688 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/module/Module.cpp')
-rw-r--r--src/module/Module.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/module/Module.cpp b/src/module/Module.cpp
index 02808206..16aecb66 100644
--- a/src/module/Module.cpp
+++ b/src/module/Module.cpp
@@ -53,11 +53,9 @@ load_module(const string& name)
string dir;
istringstream iss(module_path);
while (getline(iss, dir, ':')) {
-
string filename = Glib::Module::build_path(dir, name);
if (Glib::file_test(filename, Glib::FILE_TEST_EXISTS)) {
module = new Glib::Module(filename, Glib::MODULE_BIND_LAZY);
-
if (*module) {
cerr << "Loaded module \"" << name << "\" from " << filename << endl;
return SharedPtr<Glib::Module>(module);