From cf6844b735716d1e290b0a615f1d2d872ad3aced Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 7 Jul 2014 05:15:33 +0000 Subject: [PATCH] reverting incorrect fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/unicode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/strings/unicode.cpp b/tests/strings/unicode.cpp index 1fb8b358bc..ada1605310 100644 --- a/tests/strings/unicode.cpp +++ b/tests/strings/unicode.cpp @@ -387,7 +387,7 @@ void UnicodeTestCase::ConversionUTF16() // terminate the string, this exposed a bug in our conversion code which // got confused in this case size_t len; - conv.cMB2WC("\x01\0\0B\0C\0" /* A macron BC */, 6, &len); + conv.cMB2WC("\x01\0\0B\0C" /* A macron BC */, 6, &len); CPPUNIT_ASSERT_EQUAL( 3, len ); // Another one: verify that the length of the resulting string is computed @@ -416,7 +416,7 @@ void UnicodeTestCase::ConversionUTF32() } size_t len; - conv.cMB2WC("\0\0\x01\0\0\0\0B\0\0\0C\0" /* A macron BC */, 12, &len); + conv.cMB2WC("\0\0\x01\0\0\0\0B\0\0\0C" /* A macron BC */, 12, &len); CPPUNIT_ASSERT_EQUAL( 3, len ); }