summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-30 17:41:21 +0000
committerDavid Robillard <d@drobilla.net>2011-04-30 17:41:21 +0000
commit98d5ce707366a4955bf072389cbc8b1029e1d2a9 (patch)
treef79d676f98229eba7308007970858b3e9bb817fe /sord
parent4f124c1ee7fa82e9f3641897da2af4bc122c5522 (diff)
downloadsord-98d5ce707366a4955bf072389cbc8b1029e1d2a9.tar.gz
sord-98d5ce707366a4955bf072389cbc8b1029e1d2a9.tar.bz2
sord-98d5ce707366a4955bf072389cbc8b1029e1d2a9.zip
Update for new Serd API
git-svn-id: http://svn.drobilla.net/sord/trunk@102 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r--sord/sordmm.hpp2
1 files changed, 1 insertions, 1 deletions
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;