pass proper output buffer size in round trip conversion success check in wxMBConv_win32, otherwise conversions from UTF-7 always failed for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1702,7 +1702,7 @@ public:
|
|||||||
buf,
|
buf,
|
||||||
-1,
|
-1,
|
||||||
mbBuf.data(),
|
mbBuf.data(),
|
||||||
n,
|
n + 1, // size in bytes, not length
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
) == 0 ||
|
) == 0 ||
|
||||||
|
Reference in New Issue
Block a user