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:
parent
3b601cd4bd
commit
7c4fb2b804
23 changed files with 112 additions and 117 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue