diff options
Diffstat (limited to 'basic/source/runtime/dllmgr-x86.cxx')
-rw-r--r-- | basic/source/runtime/dllmgr-x86.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx index 09aee07fc934..64419c9e3b6e 100644 --- a/basic/source/runtime/dllmgr-x86.cxx +++ b/basic/source/runtime/dllmgr-x86.cxx @@ -203,7 +203,7 @@ SbError marshalString( return e; } std::vector< char > * blob = data.newBlob(); - blob->insert(blob->begin(), str.getStr(), str.getStr() + str.getLength()); + blob->insert(blob->begin(), str.getStr(), str.getStr() + str.getLength() + 1 ); *buffer = address(*blob); data.unmarshalStrings.push_back(StringData(variable, *buffer, special)); return ERRCODE_NONE; |