Src: rules.cpp changed Task::get to Task::has in colorizeProjectNone function
This commit is contained in:
committed by
Paul Beckingham
parent
814d7d69fa
commit
67feb5bab7
@@ -165,7 +165,7 @@ static void colorizeProject (Task& task, const std::string& rule, const Color& b
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
static void colorizeProjectNone (Task& task, const Color& base, Color& c, bool merge)
|
static void colorizeProjectNone (Task& task, const Color& base, Color& c, bool merge)
|
||||||
{
|
{
|
||||||
if (task.get ("project") == "")
|
if(!task.has ("project"))
|
||||||
applyColor (base, c, merge);
|
applyColor (base, c, merge);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user