Rollback to 9861.

git-svn-id: svn://kolibrios.org@9863 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2022-07-26 08:57:22 +00:00
parent 1e116c9679
commit 7a21f11ebd

View File

@ -172,7 +172,7 @@ int try_parse_int(long long *digit, int ch, const void *src, void *save, virtual
if (ch == '0') // octal or hex, read next if (ch == '0') // octal or hex, read next
{ {
ch = vgetc(save, src); ch = vgetc(save, src);
if (ch == 'o') if (ch == 'c' || ch == 'C')
base = 8; base = 8;
else if (ch == 'x' || ch == 'X') else if (ch == 'x' || ch == 'X')
base = 16; base = 16;