summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-10 05:26:29 +0000
committerDavid Robillard <d@drobilla.net>2011-12-10 05:26:29 +0000
commitfcd02442b22496b658fcb045f129ca622549e1c8 (patch)
tree2bfbb3030452dc102e17cf0a42ff4b24f7e8dee9 /src
parentb00ee8560f7af8042db237af966ef53550f39343 (diff)
downloadingen-fcd02442b22496b658fcb045f129ca622549e1c8.tar.gz
ingen-fcd02442b22496b658fcb045f129ca622549e1c8.tar.bz2
ingen-fcd02442b22496b658fcb045f129ca622549e1c8.zip
Fix crash on load and subsequent save.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3853 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/serialisation/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 318158fa..8a9293fb 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -603,7 +603,7 @@ Parser::parse_file(Ingen::Shared::World* world,
if (parsed_path) {
target->set_property(*parsed_path, "http://drobilla.net/ns/ingen#document",
- Atom(Atom::URI, path.c_str()));
+ Atom(Atom::URI, uri.c_str()));
} else {
LOG(warn) << "Document URI lost" << endl;
}