Code Cleanup
- Indentation.
This commit is contained in:
committed by
Paul Beckingham
parent
fc45484069
commit
154d99385a
@@ -216,14 +216,12 @@ static void colorizeDue (Task& task, const Color& base, Color& c)
|
||||
{
|
||||
if (task.has ("due"))
|
||||
{
|
||||
Task::status status = task.getStatus ();
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -231,14 +229,12 @@ static void colorizeDueToday (Task& task, const Color& base, Color& c)
|
||||
{
|
||||
if (task.has ("due"))
|
||||
{
|
||||
Task::status status = task.getStatus ();
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -246,14 +242,12 @@ static void colorizeOverdue (Task& task, const Color& base, Color& c)
|
||||
{
|
||||
if (task.has ("due"))
|
||||
{
|
||||
Task::status status = task.getStatus ();
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user