mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +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
Notes:
sideshowbarker
2024-07-19 02:43:34 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/1674903dcc5 Pull-request: https://github.com/SerenityOS/serenity/pull/3463
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ struct PrintfImpl {
|
|||
{
|
||||
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<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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue