summaryrefslogtreecommitdiffstats
path: root/src/progs/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-03 22:16:36 +0000
committerDavid Robillard <d@drobilla.net>2008-05-03 22:16:36 +0000
commit77b6f2a6a7b37e22323c4a0d80713f6cc8a231d7 (patch)
tree717506bbb1da0c108d7fcb7c1fd219ae6a41bfd4 /src/progs/ingen
parent511114a36510db5d1e55261fd07c8a4bc0f705b8 (diff)
downloadingen-77b6f2a6a7b37e22323c4a0d80713f6cc8a231d7.tar.gz
ingen-77b6f2a6a7b37e22323c4a0d80713f6cc8a231d7.tar.bz2
ingen-77b6f2a6a7b37e22323c4a0d80713f6cc8a231d7.zip
Apply slv2_plugin_get_port_ranges usage Ingen patch from larsl.
git-svn-id: http://svn.drobilla.net/lad/ingen@1194 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingen')
-rw-r--r--src/progs/ingen/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp
index 455295ea..014c24c9 100644
--- a/src/progs/ingen/main.cpp
+++ b/src/progs/ingen/main.cpp
@@ -173,12 +173,13 @@ main(int argc, char** argv)
// Assumption: Containing ':' means URI, otherwise filename
string uri = args.load_arg;
- if (uri.find(':') == string::npos)
+ if (uri.find(':') == string::npos) {
if (Glib::path_is_absolute(args.load_arg))
uri = Glib::filename_to_uri(args.load_arg);
else
uri = Glib::filename_to_uri(Glib::build_filename(
Glib::get_current_dir(), args.load_arg));
+ }
loader->load(engine_interface, &rdf_world, uri, parent_path, "");