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

@ -115,6 +115,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Łukasz Panek Łukasz Panek
V.Krishn V.Krishn
Jens Erat Jens Erat
Peter Rochen
Thanks to the following, who submitted detailed bug reports and excellent Thanks to the following, who submitted detailed bug reports and excellent
suggestions: suggestions:

View file

@ -27,6 +27,8 @@
(thanks to Scott M). (thanks to Scott M).
- TW-1591 add an option to see non-pending project with command task summary - TW-1591 add an option to see non-pending project with command task summary
(thanks to Pierre Campet). (thanks to Pierre Campet).
- TW-1595 info command doesn't print urgency details, if urgency is negative
(thanks to Peter Rochen).
- Setting 'bulk' to zero is interpreted as infinity, which means there is no - Setting 'bulk' to zero is interpreted as infinity, which means there is no
amount of changes that is considered dangerous (thanks to Tomas Babej). amount of changes that is considered dangerous (thanks to Tomas Babej).
- Disable hooks in bash completion script. Hooks were previously able to - Disable hooks in bash completion script. Hooks were previously able to

View file

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