diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 17:41:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 17:41:21 +0000 |
commit | 98d5ce707366a4955bf072389cbc8b1029e1d2a9 (patch) | |
tree | f79d676f98229eba7308007970858b3e9bb817fe /sord | |
parent | 4f124c1ee7fa82e9f3641897da2af4bc122c5522 (diff) | |
download | sord-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.hpp | 2 |
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; |