forked from KolibriOS/kolibrios
libc.obj : Try fix "%o" scanf bug.
git-svn-id: svn://kolibrios.org@9862 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b3232bd390
commit
1e116c9679
@ -172,7 +172,7 @@ int try_parse_int(long long *digit, int ch, const void *src, void *save, vir
|
||||
if (ch == '0') // octal or hex, read next
|
||||
{
|
||||
ch = vgetc(save, src);
|
||||
if (ch == 'c' || ch == 'C')
|
||||
if (ch == 'o')
|
||||
base = 8;
|
||||
else if (ch == 'x' || ch == 'X')
|
||||
base = 16;
|
||||
|
Loading…
Reference in New Issue
Block a user