TW-1595: info command doesn't print urgency details, if urgency is negative

- Thanks to Peter Rochen.
This commit is contained in:
Paul Beckingham
2015-04-12 10:13:15 -04:00
parent c0efa0f4d7
commit 21407e0ca2
3 changed files with 4 additions and 1 deletions

View File

@@ -393,7 +393,7 @@ int CmdInfo::execute (std::string& output)
// Create a second table, containing urgency details, if necessary.
ViewText urgencyDetails;
if (task->urgency () > 0.0)
if (task->urgency () != 0.0)
{
if (context.color ())
{