From ac7b2a73de2f97ead7512eec7efb1fd223f2f7ee Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 1 Jun 2004 13:31:58 +0000 Subject: Patch for allowing retrieval of document text encoded as UTF-8 and converting from UTF-8 to the document encoding. --- src/PropSet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PropSet.cxx') 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; } -- cgit v1.2.3