diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 15:24:59 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 9bc9ce00dd4d64a85700def449d7204c83bb79ad (patch) | |
tree | bf9fdf1abba2a2e917734c464c9d90d72f10c18b /src | |
parent | 31947a7e2d73cb1e336f140cad4c6363fca307a4 (diff) | |
download | ingen-9bc9ce00dd4d64a85700def449d7204c83bb79ad.tar.gz ingen-9bc9ce00dd4d64a85700def449d7204c83bb79ad.tar.bz2 ingen-9bc9ce00dd4d64a85700def449d7204c83bb79ad.zip |
Fix incorrect strncmp length
Diffstat (limited to 'src')
-rw-r--r-- | src/Serialiser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp index 1f102dba..96bc7f7c 100644 --- a/src/Serialiser.cpp +++ b/src/Serialiser.cpp @@ -578,7 +578,7 @@ Serialiser::Impl::serialise_properties(Sord::Node id, if (p.second.type() == _world.uris().atom_URI && !strncmp(reinterpret_cast<const char*>(p.second.get_body()), "ingen:/main/", - 13)) { + 12)) { /* Value is a graph URI relative to the running engine. Chop the prefix and save the path relative to the graph file. This allows saving references to bundle resources. */ |