diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index 2899fb04ab8..40f127694a5 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -222,6 +222,11 @@ template if (*(p + 1)) goto one_more; } + if (*p == '*') { + fieldWidth = va_arg(ap, int); + if (*(p + 1)) + goto one_more; + } if (*p == 'l') { ++long_qualifiers; if (*(p + 1))