From fcd02442b22496b658fcb045f129ca622549e1c8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Dec 2011 05:26:29 +0000 Subject: Fix crash on load and subsequent save. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3853 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/serialisation') 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; } -- cgit v1.2.1