mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
Userland: Replace most printf-style APIs with AK::Format APIs :^)
This commit is contained in:
parent
4f1889c2cb
commit
f5c35fccca
75 changed files with 642 additions and 644 deletions
|
@ -37,15 +37,15 @@ int main(int argc, char** argv)
|
|||
auto print_line = [&] {
|
||||
for (size_t i = 0; i < 16; ++i) {
|
||||
if (i < line.size())
|
||||
printf("%02x ", line[i]);
|
||||
out("{:02x} ", line[i]);
|
||||
else
|
||||
printf(" ");
|
||||
out(" ");
|
||||
|
||||
if (i == 7)
|
||||
printf(" ");
|
||||
out(" ");
|
||||
}
|
||||
|
||||
printf(" ");
|
||||
out(" ");
|
||||
|
||||
for (size_t i = 0; i < 16; ++i) {
|
||||
if (i < line.size() && isprint(line[i]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue