Skip to content
Permalink
Browse files

Fix padding

Closes #11

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
  • Loading branch information...
lauft committed Feb 15, 2019
1 parent a01c2bf commit 4c71aa0ac74f67c6991c4a7b96a4a1eae894b9af
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Chart.cpp
@@ -83,8 +83,8 @@ std::string Chart::render (
const auto cell_size = chars_per_hour + spacing;

const auto indent_size = getIndentSize ();
const auto total_width = (last_hour - first_hour + 1) * (cell_size) - 1;
const auto padding_size = indent_size + total_width + 2;
const auto total_width = (last_hour - first_hour + 1) * (cell_size);
const auto padding_size = indent_size + total_width + 1;
const auto indent = std::string (indent_size, ' ');

std::stringstream out;

0 comments on commit 4c71aa0

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.