bbb0ff36db
When converting a fixed number of characters we need to take any NULs inside the buffer being converted into account for our return value -- but this wasn't done and converting 2 characters 'x' and '\0' returned only 1, even if the length 2 was explicitly specified. Fix this bug and add a unit test checking for it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
||
---|---|---|
.. | ||
crt.cpp | ||
iostream.cpp | ||
stdstrings.cpp | ||
strings.cpp | ||
tokenizer.cpp | ||
unichar.cpp | ||
unicode.cpp | ||
vararg.cpp | ||
vsnprintf.cpp |