- Implemented due.countdown.
- Fixed formatting bug in description.truncated.
- Fixed bug in start.indicator.
This commit is contained in:
Paul Beckingham 2011-05-02 23:43:41 -04:00
parent f9ab8f2a1c
commit d0cbf43478
6 changed files with 69 additions and 13 deletions

View file

@ -153,7 +153,7 @@ void ColumnDescription::render (
{
int len = description.length ();
if (len > width)
lines.push_back (color.colorize (description.substr (0, len - 3) + "..."));
lines.push_back (color.colorize (description.substr (0, width - 3) + "..."));
else
lines.push_back (color.colorize (leftJustify (description, width)));
}