From 5c763f5a2395147ecf05f24ae09b92e29fe16c0f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 4 Apr 2006 14:25:59 +0000 Subject: [PATCH] corrected mistake in the UTF-16 test on big endian machines git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/textfile/textfiletest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/textfile/textfiletest.cpp b/tests/textfile/textfiletest.cpp index dfd2855af3..01b6da60af 100644 --- a/tests/textfile/textfiletest.cpp +++ b/tests/textfile/textfiletest.cpp @@ -185,7 +185,7 @@ void TextFileTestCase::ReadUTF16() "\x40\x04\x38\x04\x32\x04\x35\x04\x42\x04"); wxTextFile f; - wxMBConvUTF16 conv; + wxMBConvUTF16LE conv; CPPUNIT_ASSERT( f.Open(wxString::FromAscii(GetTestFileName()), conv) ); CPPUNIT_ASSERT_EQUAL( (size_t)2, f.GetLineCount() ); -- 2.45.2