diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-25 16:45:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-25 17:04:28 +0100 |
commit | cb2c8f71f44f8c628f57e6ac3cadca57642c7682 (patch) | |
tree | 699e11a5a4c6e21d4eaa1d1b8ae0d232598505a2 /Libraries/LibVT | |
parent | 89d3b09638ea6f810b3b07d417367bc3458ce98b (diff) | |
download | serenity-cb2c8f71f44f8c628f57e6ac3cadca57642c7682.zip |
AK: Remove custom %b format string specifier
This was a non-standard specifier alias for %02x. This patch replaces
all uses of it with new-style formatting functions instead.
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/Terminal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibVT/Terminal.cpp b/Libraries/LibVT/Terminal.cpp index b5b32ef252..afed43f0ad 100644 --- a/Libraries/LibVT/Terminal.cpp +++ b/Libraries/LibVT/Terminal.cpp @@ -824,7 +824,7 @@ void Terminal::DSR(const ParamVector& params) void Terminal::on_input(u8 ch) { #ifdef TERMINAL_DEBUG - dbgprintf("Terminal::on_char: %b (%c), fg=%u, bg=%u\n", ch, ch, m_current_attribute.foreground_color, m_current_attribute.background_color); + dbgln("Terminal::on_input: {:#02x} ({:c}), fg={}, bg={}\n", ch, ch, m_current_attribute.foreground_color, m_current_attribute.background_color); #endif auto fail_utf8_parse = [this] { |