diff options
author | David Robillard <d@drobilla.net> | 2012-03-02 21:48:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-02 21:48:15 +0000 |
commit | 4742300f40eb8831ab36376fa7c18dcbc38b32da (patch) | |
tree | a81bbee6784dfc5fe51c0bb0d7cb49034724988c /src | |
parent | 5b72f90d29734e772ace6da355e24971bb67b656 (diff) | |
download | sratom-4742300f40eb8831ab36376fa7c18dcbc38b32da.tar.gz sratom-4742300f40eb8831ab36376fa7c18dcbc38b32da.tar.bz2 sratom-4742300f40eb8831ab36376fa7c18dcbc38b32da.zip |
Fix atom:Path serialisation.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4016 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/sratom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sratom.c b/src/sratom.c index 09a7779..4280c9a 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -470,6 +470,8 @@ read_node(Sratom* sratom, lv2_atom_forge_double(forge, serd_strtod(str, &endptr)); } else if (!strcmp(type_uri, (char*)NS_XSD "boolean")) { lv2_atom_forge_bool(forge, !strcmp(str, "true")); + } else if (!strcmp(type_uri, (char*)NS_ATOM "Path")) { + lv2_atom_forge_path(forge, (const uint8_t*)str, len); } else if (!strcmp(type_uri, (char*)NS_MIDI "MidiEvent")) { lv2_atom_forge_atom(forge, len / 2, sratom->midi_MidiEvent); for (const char* s = str; s < str + len; s += 2) { |