mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
AK: Support %i as an alias for %d in printf
This commit is contained in:
parent
b615a5c780
commit
a92939b766
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ template<typename PutChFunc>
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case 'd':
|
case 'd':
|
||||||
|
case 'i':
|
||||||
ret += print_signed_number(putch, bufptr, va_arg(ap, int), left_pad, zeroPad, fieldWidth);
|
ret += print_signed_number(putch, bufptr, va_arg(ap, int), left_pad, zeroPad, fieldWidth);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue