mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
7c2cd81edb
When we write the format specifier '{:#08x}' we are asking for eight significant digits, zero padding and the prefix '0x'. However, previously we got only six significant digits because the prefix counted towards the width. (The number '8' here is the total width and not the number of significant digits.) Both fmtlib and printf shared this behaviour. However, I am introducing a special case here because when we do zero padding we really only care about the digits and not the width. Notice that zero padding is a special case anyways, because zero padding goes after the prefix as opposed to any other padding which goes before it. |
||
---|---|---|
.. | ||
About | ||
Browser | ||
Calculator | ||
Calendar | ||
Debugger | ||
DisplaySettings | ||
FileManager | ||
FontEditor | ||
Help | ||
HexEditor | ||
IRCClient | ||
KeyboardMapper | ||
KeyboardSettings | ||
Piano | ||
PixelPaint | ||
QuickShow | ||
SoundPlayer | ||
Spreadsheet | ||
SystemMonitor | ||
Terminal | ||
TextEditor | ||
ThemeEditor | ||
Welcome | ||
CMakeLists.txt |