Fix formatting in dump_tree

This commit is contained in:
Johannes Altmanninger 2019-10-26 14:18:13 +02:00
parent 4a1edbd3cb
commit 9564e4a6d6

View file

@ -285,7 +285,7 @@ static void dump_tree_recursive(const parse_node_tree_t &nodes, const wcstring &
if (indent > 0) indent -= 1; if (indent > 0) indent -= 1;
} }
append_format(*result, L"%2lu - %l2u ", *line, node_idx); append_format(*result, L"%2lu - %2lu ", *line, node_idx);
result->append(indent * spacesPerIndent, L' '); result->append(indent * spacesPerIndent, L' ');
result->append(node.describe()); result->append(node.describe());
if (node.child_count > 0) { if (node.child_count > 0) {