From 639c1a17379054138d350c85e6fcab3d886707d8 Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Thu, 25 Jun 2020 17:15:23 +0430 Subject: Shell: Build as part of Lagom as well Bringing the Serenity Shell to your very own host system :^) --- Shell/AST.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Shell/AST.cpp') diff --git a/Shell/AST.cpp b/Shell/AST.cpp index 1f64d81c13..24c7ae3bef 100644 --- a/Shell/AST.cpp +++ b/Shell/AST.cpp @@ -49,7 +49,9 @@ static inline RefPtr create(std::initializer_list> arg) static inline void print_indented(const String& str, int indent) { - dbgprintf("%.*c%s\n", indent * 2, ' ', str.characters()); + for (auto i = 0; i < indent; ++i) + dbgprintf(" "); + dbgprintf("%s\n", str.characters()); } static inline Vector join_commands(Vector left, Vector right) -- cgit v1.2.3