- TW-1381 blocking report exits with "Unknown error" and exit code 3.
This commit is contained in:
Paul Beckingham 2014-08-16 16:14:28 -04:00
parent 77047cf07c
commit 5c6c14e21b
3 changed files with 10 additions and 2 deletions

View file

@ -81,10 +81,17 @@ void ColumnParent::render (
// 34f00694 short
if (_style == "default" ||
_style == "long")
{
lines.push_back (color.colorize (leftJustify (task.get (_name), width)));
}
else if (_style == "short")
lines.push_back (color.colorize (leftJustify (task.get (_name).substr (28), width)));
{
if (task.has (_name))
lines.push_back (color.colorize (leftJustify (task.get (_name).substr (28), width)));
else
lines.push_back (color.colorize (leftJustify ("", width)));
}
}
////////////////////////////////////////////////////////////////////////////////