mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Indentation.
This commit is contained in:
parent
fc45484069
commit
154d99385a
1 changed files with 9 additions and 15 deletions
|
@ -218,12 +218,10 @@ static void colorizeDue (Task& task, const Color& base, Color& c)
|
|||
{
|
||||
Task::status status = task.getStatus ();
|
||||
if (status != Task::completed &&
|
||||
status != Task::deleted)
|
||||
{
|
||||
if (getDueState (task.get ("due")) == 1)
|
||||
status != Task::deleted &&
|
||||
getDueState (task.get ("due")) == 1)
|
||||
c.blend (base);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -233,12 +231,10 @@ static void colorizeDueToday (Task& task, const Color& base, Color& c)
|
|||
{
|
||||
Task::status status = task.getStatus ();
|
||||
if (status != Task::completed &&
|
||||
status != Task::deleted)
|
||||
{
|
||||
if (getDueState (task.get ("due")) == 2)
|
||||
status != Task::deleted &&
|
||||
getDueState (task.get ("due")) == 2)
|
||||
c.blend (base);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -248,12 +244,10 @@ static void colorizeOverdue (Task& task, const Color& base, Color& c)
|
|||
{
|
||||
Task::status status = task.getStatus ();
|
||||
if (status != Task::completed &&
|
||||
status != Task::deleted)
|
||||
{
|
||||
if (getDueState (task.get ("due")) == 3)
|
||||
status != Task::deleted &&
|
||||
getDueState (task.get ("due")) == 3)
|
||||
c.blend (base);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue