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:
@@ -197,9 +197,6 @@ wxString wxTextInputStream::ReadLine()
|
||||
if(c == wxEOT)
|
||||
break;
|
||||
|
||||
if ( !m_input )
|
||||
break;
|
||||
|
||||
if (EatEOL(c))
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user