Bug #1032
- Fixed bug #1032, which prevented negative urgency coefficients from working for projects and tags.
This commit is contained in:
@@ -112,6 +112,8 @@ Bugs
|
|||||||
(thank to Uli Martens).
|
(thank to Uli Martens).
|
||||||
+ Fixed bug #1030, which defines a portable implementation of timegm and removes
|
+ Fixed bug #1030, which defines a portable implementation of timegm and removes
|
||||||
the use of tm_gmtoff for non GNU/BSD platforms.
|
the use of tm_gmtoff for non GNU/BSD platforms.
|
||||||
|
+ Fixed bug #1032, which prevented negative urgency coefficients from working
|
||||||
|
for projects and tags.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -1340,7 +1340,7 @@ float Task::urgency_c () const
|
|||||||
std::map <std::string, float>::iterator var;
|
std::map <std::string, float>::iterator var;
|
||||||
for (var = coefficients.begin (); var != coefficients.end (); ++var)
|
for (var = coefficients.begin (); var != coefficients.end (); ++var)
|
||||||
{
|
{
|
||||||
if (var->second > epsilon)
|
if (fabs (var->second) > epsilon)
|
||||||
{
|
{
|
||||||
if (var->first.substr (0, 13) == "urgency.user.")
|
if (var->first.substr (0, 13) == "urgency.user.")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user