]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected mistake in the UTF-16 test on big endian machines
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Apr 2006 14:25:59 +0000 (14:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Apr 2006 14:25:59 +0000 (14:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/textfile/textfiletest.cpp

index dfd2855af39aed6cbbd51696c8bf33b2cee5d5f8..01b6da60af875e8287d4b6a7b2d6dbf342e3407c 100644 (file)
@@ -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() );