From 6ef5a7a37085994f09644ea31d6a6c219f8e2711 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 31 Mar 2006 19:15:46 +0000 Subject: [PATCH] fixed if/idef wxHAVE_U_ESCAPE mixup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/textfile/textfiletest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/textfile/textfiletest.cpp b/tests/textfile/textfiletest.cpp index ce8bc49d24..4140d5e05c 100644 --- a/tests/textfile/textfiletest.cpp +++ b/tests/textfile/textfiletest.cpp @@ -171,7 +171,7 @@ void TextFileTestCase::ReadUTF8() CPPUNIT_ASSERT_EQUAL( 2u, f.GetLineCount() ); CPPUNIT_ASSERT_EQUAL( wxTextFileType_Unix, f.GetLineType(0) ); CPPUNIT_ASSERT_EQUAL( wxTextFileType_None, f.GetLineType(1) ); -#if wxHAVE_U_ESCAPE +#ifdef wxHAVE_U_ESCAPE CPPUNIT_ASSERT_EQUAL( wxString(L"\u041f"), f.GetFirstLine() ); CPPUNIT_ASSERT_EQUAL( wxString(L"\u0440\u0438\u0432\u0435\u0442"), f.GetLastLine() ); @@ -192,7 +192,7 @@ void TextFileTestCase::ReadUTF16() CPPUNIT_ASSERT_EQUAL( wxTextFileType_Dos, f.GetLineType(0) ); CPPUNIT_ASSERT_EQUAL( wxTextFileType_None, f.GetLineType(1) ); -#if wxHAVE_U_ESCAPE +#ifdef wxHAVE_U_ESCAPE CPPUNIT_ASSERT_EQUAL( wxString(L"\u041f"), f.GetFirstLine() ); CPPUNIT_ASSERT_EQUAL( wxString(L"\u0440\u0438\u0432\u0435\u0442"), f.GetLastLine() ); -- 2.45.2