From 98d5ce707366a4955bf072389cbc8b1029e1d2a9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Apr 2011 17:41:21 +0000 Subject: Update for new Serd API git-svn-id: http://svn.drobilla.net/sord/trunk@102 3d64ff67-21c5-427c-a301-fe4f08042e5a --- sord/sordmm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sord') diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index dc80cb3..8977dc1 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -95,7 +95,7 @@ public: SerdNode curie_node = string_to_node(SERD_CURIE, curie); SerdChunk uri_prefix; SerdChunk uri_suffix; - if (serd_env_expand(_c_obj, &curie_node, &uri_prefix, &uri_suffix)) { + if (!serd_env_expand(_c_obj, &curie_node, &uri_prefix, &uri_suffix)) { std::string ret((const char*)uri_prefix.buf, uri_prefix.len); ret.append((const char*)uri_suffix.buf, uri_suffix.len); return ret; -- cgit v1.2.1