Follow api of wxInputStream (warning fixes).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4e22a1f243
commit
ba4796547a
@ -1624,7 +1624,7 @@ static bool wxEatWhiteSpace(wxInputStream *is)
|
||||
while (!finished)
|
||||
{
|
||||
ch = is->GetC();
|
||||
if (ch == EOF)
|
||||
if (is->LastRead() == 0)
|
||||
return false;
|
||||
if (ch == '*')
|
||||
{
|
||||
@ -1733,7 +1733,7 @@ bool wxGetResourceToken(wxInputStream *is)
|
||||
// Escaped characters
|
||||
else if (ch == '\\')
|
||||
{
|
||||
int newCh = is->GetC();
|
||||
char newCh = is->GetC();
|
||||
if (newCh == '"')
|
||||
actualCh = '"';
|
||||
else if (newCh == 10)
|
||||
|
Loading…
Reference in New Issue
Block a user