* wxStream fixes (integer/line parsing).
* Typetest sample fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,6 +90,9 @@ wxString wxDataInputStream::ReadLine()
|
||||
|
||||
while (!end_line) {
|
||||
c = GetC();
|
||||
if (LastError() != wxStream_NOERROR)
|
||||
break;
|
||||
|
||||
switch (c) {
|
||||
case '\n':
|
||||
end_line = TRUE;
|
||||
@@ -201,4 +204,4 @@ void wxDataOutputStream::WriteDouble(double d)
|
||||
|
||||
#endif
|
||||
// wxUSE_STREAMS
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user