mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-1428
- Minor tweaks.
This commit is contained in:
parent
2c7013cc1c
commit
ca14657f0c
2 changed files with 5 additions and 4 deletions
|
@ -232,9 +232,10 @@ static void colorizeUDA (Task& task, const std::string& rule, const Color& base,
|
|||
if (task.has (rule.substr (10)))
|
||||
c.blend (base);
|
||||
}
|
||||
else {
|
||||
const std::string uda = rule.substr (10, pos-10);
|
||||
const std::string val = rule.substr (pos+1);
|
||||
else
|
||||
{
|
||||
const std::string uda = rule.substr (10, pos - 10);
|
||||
const std::string val = rule.substr (pos + 1);
|
||||
if (task.get (uda) == val)
|
||||
c.blend (base);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue