mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed a minor bug in _filbuf().
When there was returned a character from stream, the counter wasn't decremented. svn path=/trunk/; revision=2134
This commit is contained in:
parent
f1a3075ad7
commit
5e85eb7d8e
2 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,7 @@ _filbuf(FILE *f)
|
|||
return EOF;
|
||||
}
|
||||
|
||||
f->_cnt--;
|
||||
return *f->_ptr++ & 0377;
|
||||
}
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@ _filbuf(FILE *f)
|
|||
return EOF;
|
||||
}
|
||||
|
||||
f->_cnt--;
|
||||
return *f->_ptr++ & 0377;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue