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,
|
||||
-1,
|
||||
mbBuf.data(),
|
||||
n,
|
||||
n + 1, // size in bytes, not length
|
||||
NULL,
|
||||
NULL
|
||||
) == 0 ||
|
||||
|
Reference in New Issue
Block a user