mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 01:48:11 +00:00
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.
This commit is contained in:
parent
89d3b09638
commit
cb2c8f71f4
12 changed files with 27 additions and 28 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue