diff options
author | Conrad Pankoff <deoxxa@fknsrs.biz> | 2019-09-02 15:31:19 +1000 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-02 08:28:31 +0200 |
commit | a92939b7660bf01563dd55f1584bea3cae14b32b (patch) | |
tree | 9c26468f18a8aa918f967c36e674972ac2838aac /AK | |
parent | b615a5c780b96c0a771ce0f3630d317017d45769 (diff) | |
download | serenity-a92939b7660bf01563dd55f1584bea3cae14b32b.zip |
AK: Support %i as an alias for %d in printf
Diffstat (limited to 'AK')
-rw-r--r-- | AK/PrintfImplementation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index ff76889afd..43e4aa7d63 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -290,6 +290,7 @@ template<typename PutChFunc> } break; case 'd': + case 'i': ret += print_signed_number(putch, bufptr, va_arg(ap, int), left_pad, zeroPad, fieldWidth); break; |