From 1674903dcc502e0a263099fec2c445822f3c94a9 Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Sat, 12 Sep 2020 15:28:27 +0430 Subject: [PATCH] AK: Fix PrintfImplementation "%x" handling for u32 This also fixes an issue with the color input value being messed up. oops :P --- AK/PrintfImplementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index 5c36d4bfde4..e3d833e7f86 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -358,7 +358,7 @@ struct PrintfImpl { { if (state.long_qualifiers >= 2) return print_hex(m_putch, m_bufptr, NextArgument()(ap), false, state.alternate_form, state.left_pad, state.zero_pad, state.field_width); - return print_hex(m_putch, m_bufptr, NextArgument()(ap), false, state.alternate_form, state.left_pad, state.zero_pad, state.field_width); + return print_hex(m_putch, m_bufptr, NextArgument()(ap), false, state.alternate_form, state.left_pad, state.zero_pad, state.field_width); } ALWAYS_INLINE int format_X(const ModifierState& state, ArgumentListRefT ap) const {