diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index 325541d384..e93103739c 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -331,11 +331,11 @@ template break; case 'w': - ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, left_pad, zeroPad, 4); + ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, true, true, 4); break; case 'b': - ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, left_pad, zeroPad, 2); + ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, true, true, 2); break; case 'c':