Fixed ReadLine missing last character from text files with no final newline.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-09-06 21:43:19 +00:00
parent 574d4d1c4c
commit f36b3a915e

View File

@@ -197,9 +197,6 @@ wxString wxTextInputStream::ReadLine()
if(c == wxEOT)
break;
if ( !m_input )
break;
if (EatEOL(c))
break;