X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d3dd069480fad1bc4b7df95b09d647bb7c04545..a3669332df65cfae18e7540a267bc3400a64aa09:/src/common/strconv.cpp diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 412dcbe2ce..3f00282a39 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -2760,7 +2760,7 @@ public: { OSStatus status = noErr ; ByteCount byteOutLen ; - ByteCount byteInLen = strlen(psz) ; + ByteCount byteInLen = strlen(psz) + 1; wchar_t *tbuf = NULL ; UniChar* ubuf = NULL ; size_t res = 0 ;