From 27b387b523f66039fc3e38d1a9485873caa481ad Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 21 May 2016 15:29:53 -0500 Subject: [PATCH] CmdChart: Indent now dynamic --- src/commands/CmdChart.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/commands/CmdChart.cpp b/src/commands/CmdChart.cpp index b17e1bd7..5a90d760 100644 --- a/src/commands/CmdChart.cpp +++ b/src/commands/CmdChart.cpp @@ -168,18 +168,15 @@ int renderChart ( << lines[0].str (); if (lines.size () > 1) - { for (unsigned int i = 1; i < lines.size (); ++i) std::cout << "\n" - << " " + << std::string (labelMonth.length () + labelDay.length (), ' ') << lines[i].str (); - } std::cout << " " << renderTotal (type, rules, work) << '\n'; - std::cout << '\n'; previous = day; total_work += work; }