projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a65ca3e
)
pass proper output buffer size in round trip conversion success check in wxMBConv_win...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 31 Mar 2006 17:34:48 +0000
(17:34 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 31 Mar 2006 17:34:48 +0000
(17:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38473
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/strconv.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/strconv.cpp
b/src/common/strconv.cpp
index 7b0e78a69db5d1eba0700ec2bde0c11ba8f66381..cc851b8ff3cd12ac7ca34cd2ecb6e74a81835cea 100644
(file)
--- a/
src/common/strconv.cpp
+++ b/
src/common/strconv.cpp
@@
-1702,7
+1702,7
@@
public:
buf,
-1,
mbBuf.data(),
- n
,
+ n
+ 1, // size in bytes, not length
NULL,
NULL
) == 0 ||