aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-05 18:46:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-05 18:49:32 +0100
commiteedab646ac8b451ceefeef9d146e85eff0a3ecfa (patch)
tree3ddc4d6d5421b913d5ddc20426286712b0cfeb3c
parent114f10ee61097f4a3209947018f6a950e9aea40f (diff)
downloadpaludis-eedab646ac8b451ceefeef9d146e85eff0a3ecfa.tar.gz
paludis-eedab646ac8b451ceefeef9d146e85eff0a3ecfa.tar.xz
Fix logic
-rw-r--r--paludis/filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/filter.cc b/paludis/filter.cc
index 87e515b..f0dc1f2 100644
--- a/paludis/filter.cc
+++ b/paludis/filter.cc
@@ -226,7 +226,7 @@ namespace
r != r_end ; ++r)
{
const std::shared_ptr<const Repository> repo(env->package_database()->fetch_repository(*r));
- if (equal == (repo->installed_root_key() && root == repo->installed_root_key()->value()))
+ if (repo->installed_root_key() && (equal == (root == repo->installed_root_key()->value())))
result->insert(*r);
}