aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.cxx')
-rw-r--r--build/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx
index e6a71df..95724cf 100644
--- a/build/algorithm.cxx
+++ b/build/algorithm.cxx
@@ -175,7 +175,7 @@ namespace build
{
target& pt (search (p));
- if (p.target->dir.sub (d))
+ if (pt.dir.sub (d))
{
match (a, pt);
t.prerequisite_targets.push_back (&pt);