mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
AK: Fix PrintfImplementation "%x" handling for u32
This also fixes an issue with the color input value being messed up. oops :P
This commit is contained in:
parent
ad031ec5d7
commit
1674903dcc
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ struct PrintfImpl {
|
||||||
{
|
{
|
||||||
if (state.long_qualifiers >= 2)
|
if (state.long_qualifiers >= 2)
|
||||||
return print_hex(m_putch, m_bufptr, NextArgument<u64>()(ap), false, state.alternate_form, state.left_pad, state.zero_pad, state.field_width);
|
return print_hex(m_putch, m_bufptr, NextArgument<u64>()(ap), false, state.alternate_form, state.left_pad, state.zero_pad, state.field_width);
|
||||||
return print_hex(m_putch, m_bufptr, NextArgument<u64>()(ap), false, state.alternate_form, state.left_pad, state.zero_pad, state.field_width);
|
return print_hex(m_putch, m_bufptr, NextArgument<u32>()(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
|
ALWAYS_INLINE int format_X(const ModifierState& state, ArgumentListRefT ap) const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue