mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
Bug - ColDescriptionf indent
- Fixed bug in description.default rendering that inserted the indentation twice.
This commit is contained in:
parent
72fa53ad3d
commit
f1b5999983
1 changed files with 1 additions and 4 deletions
|
@ -174,10 +174,7 @@ void ColumnDescription::render (
|
|||
|
||||
std::vector <std::string>::iterator i;
|
||||
for (i = raw.begin (); i != raw.end (); ++i)
|
||||
if (i == raw.begin ())
|
||||
lines.push_back (color.colorize (leftJustify (*i, width)));
|
||||
else
|
||||
lines.push_back (color.colorize (leftJustify (std::string (indent, ' ') + *i, width)));
|
||||
lines.push_back (color.colorize (leftJustify (*i, width)));
|
||||
}
|
||||
|
||||
// This is a description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue