From 7749df1f415574250a8828abd99a6868eb3071dd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 28 Oct 1998 15:28:21 +0000 Subject: [PATCH] Mac fixes (thanks to Stefan Csomor) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/textfile.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/common/textfile.cpp b/src/common/textfile.cpp index cf3095cd5e..711b8de6ef 100644 --- a/src/common/textfile.cpp +++ b/src/common/textfile.cpp @@ -45,8 +45,6 @@ const wxTextFile::Type wxTextFile::typeDefault = wxTextFile:: Type_Unix; #elif defined(__WXMAC__) Type_Mac; - // if you feel brave, remove the next line - #error "wxTextFile: code for Mac files is untested." #else Type_None; #error "wxTextFile: unsupported platform." @@ -170,10 +168,6 @@ bool wxTextFile::Read() return FALSE; } - #ifdef __MAC__ - #pragma message("wxTextFile::Read() hasn't been tested with Mac files.") - #endif - for ( n = 0; n < nRead; n++ ) { ch = buf[n]; switch ( ch ) { @@ -200,6 +194,7 @@ bool wxTextFile::Read() // Mac line termination m_aLines.Add(str); m_aTypes.Add(Type_Mac); + chLast = ch; str = ch; } else {