From d73601c0b2dc180f83445269b9bf55f72ab487a1 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 3 Oct 2010 18:48:42 -0400 Subject: [PATCH] Dependencies - Modified rules.cpp for color.blocked so that it correctly determines the need for coloration. --- src/rules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules.cpp b/src/rules.cpp index 88cf084ee..86cf718e6 100644 --- a/src/rules.cpp +++ b/src/rules.cpp @@ -81,7 +81,7 @@ void initializeColorRules () static void colorizeBlocked (Task& task, const std::string& rule, Color& c) { if (gsColor[rule].nontrivial ()) - if (task.get ("depends") != "") + if (dependencyIsBlocked (task)) c.blend (gsColor[rule]); }