From 9bc9ce00dd4d64a85700def449d7204c83bb79ad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 15:24:59 +0200 Subject: Fix incorrect strncmp length --- src/Serialiser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(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. */ -- cgit v1.2.1