diff options
author | David Robillard <d@drobilla.net> | 2008-08-15 03:30:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-15 03:30:10 +0000 |
commit | 2b189b5979fed3f52a1bea082201a892d00aa38c (patch) | |
tree | 5b14a1b91fc228fa1aaa711378804d0d4a6ced3d /src/libs/serialisation | |
parent | 25c796a6f64038d47140a2023f25cfbe1b2fdd37 (diff) | |
download | ingen-2b189b5979fed3f52a1bea082201a892d00aa38c.tar.gz ingen-2b189b5979fed3f52a1bea082201a892d00aa38c.tar.bz2 ingen-2b189b5979fed3f52a1bea082201a892d00aa38c.zip |
Make refresh more complete.
git-svn-id: http://svn.drobilla.net/lad/ingen@1389 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r-- | src/libs/serialisation/Serialiser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/serialisation/Serialiser.cpp b/src/libs/serialisation/Serialiser.cpp index c4341069..5deb17e9 100644 --- a/src/libs/serialisation/Serialiser.cpp +++ b/src/libs/serialisation/Serialiser.cpp @@ -278,7 +278,7 @@ Serialiser::serialise_patch(SharedPtr<Shared::Patch> patch) "rdf:type", Redland::Node(_model->world(), Redland::Node::RESOURCE, "http://drobilla.net/ns/ingen#Patch")); - if (patch->path().name().length() > 0) { + if (patch->path() != "/") { _model->add_statement( patch_id, "ingen:symbol", Redland::Node(_model->world(), Redland::Node::LITERAL, patch->path().name())); |