aboutsummaryrefslogtreecommitdiff
path: root/libio/iostream.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iostream.h')
-rw-r--r--libio/iostream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/iostream.h b/libio/iostream.h
index f3de3639906..19fbf8a4d95 100644
--- a/libio/iostream.h
+++ b/libio/iostream.h
@@ -173,6 +173,7 @@ protected:
int get() { if (!ipfx1()) return EOF;
else { int ch = _strbuf->sbumpc();
if (ch == EOF) set(ios::eofbit);
+ isfx();
return ch;
} }
int peek();