Fixed a bug where EOS/EOF was interpreted as a stream error
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40213
This commit is contained in:
parent
e2935a2ae4
commit
dc60ae49de
@ -233,8 +233,7 @@ SMCParseError CTextParsers::ParseStream_SMC(void *stream,
|
||||
{
|
||||
if (!read)
|
||||
{
|
||||
err = SMCParse_StreamError;
|
||||
goto failed;
|
||||
break;
|
||||
}
|
||||
|
||||
/* :TODO: do this outside of the main loop somehow
|
||||
|
Loading…
Reference in New Issue
Block a user