diff options
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r-- | src/PropSet.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx index 00e9986f7..bf345145f 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -124,7 +124,7 @@ SString &SString::assign(const char *sOther, lenpos_t sSize_) { s = StringAllocate(sOther, sSize_); if (s) { sSize = sSize_; // Allow buffer bigger than real string, thus providing space to grow - sLen = strlen(s); + sLen = sSize_; } else { sSize = sLen = 0; } |