summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser')
-rw-r--r--core/fpdfapi/parser/fpdf_parser_decode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/fpdf_parser_decode.cpp b/core/fpdfapi/parser/fpdf_parser_decode.cpp
index 228c012e5f..7ad6c0176f 100644
--- a/core/fpdfapi/parser/fpdf_parser_decode.cpp
+++ b/core/fpdfapi/parser/fpdf_parser_decode.cpp
@@ -465,7 +465,7 @@ WideString PDF_DecodeText(const ByteString& bstr) {
ByteString PDF_EncodeText(const wchar_t* pString, int len) {
if (len == -1)
- len = FXSYS_wcslen(pString);
+ len = wcslen(pString);
ByteString result;
char* dest_buf1 = result.GetBuffer(len);