mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
LibGUI: Use String::formatted() and String::number() more
This commit is contained in:
parent
f181ddb56a
commit
7bb18215cb
15 changed files with 48 additions and 24 deletions
|
@ -1532,7 +1532,7 @@ void Painter::fill_path(Path& path, Color color, WindingRule winding_rule)
|
|||
});
|
||||
#ifdef FILL_PATH_DEBUG
|
||||
if ((int)scanline % 10 == 0) {
|
||||
draw_text(IntRect(active_list.last().x - 20, scanline, 20, 10), String::format("%d", (int)scanline));
|
||||
draw_text(IntRect(active_list.last().x - 20, scanline, 20, 10), String::number((int)scanline));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue