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 /Applications | |
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 'Applications')
-rw-r--r-- | Applications/FontEditor/FontEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FontEditor/FontEditor.cpp b/Applications/FontEditor/FontEditor.cpp index 05d72fa5cb..e1371fbb57 100644 --- a/Applications/FontEditor/FontEditor.cpp +++ b/Applications/FontEditor/FontEditor.cpp @@ -345,7 +345,7 @@ FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Gfx::Font>&& edite m_glyph_editor_widget->set_glyph(glyph); glyph_width_spinbox.set_value(m_edited_font->glyph_width(m_glyph_map_widget->selected_glyph())); StringBuilder builder; - builder.appendf("0x%b (", glyph); + builder.appendff("{:#02x} (", glyph); if (glyph < 128) { builder.append(glyph); } else { |