aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PropSet.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-06-01 13:31:58 +0000
committernyamatongwe <devnull@localhost>2004-06-01 13:31:58 +0000
commit77a447e9645e3c03061c7c9a8ad61921ced8be3d (patch)
treeb163413284fbcee8ee0a21de6c79bd1c7f47f2f0 /src/PropSet.cxx
parentb252c4dc9752c17f10ca225120cc338561e1b11a (diff)
downloadscintilla-mirror-77a447e9645e3c03061c7c9a8ad61921ced8be3d.tar.gz
Patch for allowing retrieval of document text encoded as
UTF-8 and converting from UTF-8 to the document encoding.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r--src/PropSet.cxx2
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;
}