msvcp90: Fix EOF handling in basic_filebuf<char>::underflow.

This commit is contained in:
Piotr Caban 2012-07-04 18:15:55 +02:00 committed by Alexandre Julliard
parent 3adb3a3c28
commit 0d3dcd23f4
1 changed files with 1 additions and 1 deletions

View File

@ -2513,7 +2513,7 @@ int __thiscall basic_filebuf_char_underflow(basic_filebuf_char *this)
return *basic_streambuf_char_gptr(&this->base); return *basic_streambuf_char_gptr(&this->base);
ret = call_basic_filebuf_char_uflow(this); ret = call_basic_filebuf_char_uflow(this);
if(ret) if(ret != EOF)
ret = call_basic_filebuf_char_pbackfail(this, ret); ret = call_basic_filebuf_char_pbackfail(this, ret);
return ret; return ret;
} }