git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@930
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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."
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 ) {
// Mac line termination
m_aLines.Add(str);
m_aTypes.Add(Type_Mac);
+ chLast = ch;
str = ch;
}
else {