summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-20 06:57:12 +0000
committerDavid Robillard <d@drobilla.net>2011-05-20 06:57:12 +0000
commit7c1e48a2902373c5b2d893bd9ffd44056c044538 (patch)
tree4bc949e013f5dbd1c036d69f1deaf3fe30badfdb
parent5cd3530e809ce379c0c1f21355043e03263b4189 (diff)
downloadsord-7c1e48a2902373c5b2d893bd9ffd44056c044538.tar.gz
sord-7c1e48a2902373c5b2d893bd9ffd44056c044538.tar.bz2
sord-7c1e48a2902373c5b2d893bd9ffd44056c044538.zip
Fix string_to_node incorrect string length
git-svn-id: http://svn.drobilla.net/sord/trunk@124 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r--sord/sordmm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 75e4a21..6e92d37 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -67,7 +67,7 @@ public:
static inline SerdNode string_to_node(SerdType type, const std::string& s) {
SerdNode ret = {
- (const uint8_t*)s.c_str(), s.length() + 1, s.length(), 0, type };
+ (const uint8_t*)s.c_str(), s.length(), s.length(), 0, type };
return ret;
}