mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Rules: Added parens to fix conditional
This commit is contained in:
parent
184d736763
commit
8536dc9658
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ static void colorizeUDA (Task& task, const std::string& rule, const Color& base,
|
|||
{
|
||||
const std::string uda = rule.substr (10, pos - 10);
|
||||
const std::string val = rule.substr (pos + 1);
|
||||
if (val == "none" && ! task.has (uda) ||
|
||||
if ((val == "none" && ! task.has (uda)) ||
|
||||
task.get (uda) == val)
|
||||
applyColor (base, c, merge);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue