AK: The printf family was mixing up case and alternate form settings

This commit is contained in:
Andreas Kling
2019-08-18 15:52:24 +02:00
parent ccdeafdefb
commit 5465795dc3

View File

@@ -13,7 +13,7 @@ extern "C" size_t strlen(const char*);
#endif
template<typename PutChFunc, typename T>
[[gnu::always_inline]] inline int print_hex(PutChFunc putch, char*& bufptr, T number, bool alternate_form, bool upper_case, bool left_pad, bool zeroPad, u8 width)
[[gnu::always_inline]] inline int print_hex(PutChFunc putch, char*& bufptr, T number, bool upper_case, bool alternate_form, bool left_pad, bool zeroPad, u8 width)
{
int ret = 0;