mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Fix padding
Closes #11 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
a01c2bf19e
commit
4c71aa0ac7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue