Commit 921eef3b authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Make the scanf family recognize characters again.

parent 15e6c40a
......@@ -219,7 +219,7 @@ int _FUNCTION_ {
seendigit=1;
}
/* read until no more digits */
while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {
while (width!=0 && (nch!=_EOF_) && _CHAR2DIGIT_(nch, base)!=-1) {
cur = cur*base + _CHAR2DIGIT_(nch, base);
nch = _GETC_(file);
if (width>0) width--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment