1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 03:34:58 +00:00

HackStudio: Use new format functions.

This commit is contained in:
asynts 2020-10-08 13:41:36 +02:00 committed by Andreas Kling
parent 3b601cd4bd
commit 7c4fb2b804
23 changed files with 112 additions and 117 deletions

View file

@ -353,11 +353,11 @@ void Project::rebuild_tree()
#if 0
Function<void(ProjectTreeNode&, int indent)> dump_tree = [&](ProjectTreeNode& node, int indent) {
for (int i = 0; i < indent; ++i)
printf(" ");
new_out(" ");
if (node.name.is_null())
printf("(null)\n");
outln("(null)");
else
printf("%s\n", node.name.characters());
outln("{}", node.name);
for (auto& child : node.children) {
dump_tree(*child, indent + 2);
}