aboutsummaryrefslogtreecommitdiff
path: root/paludis/match_package.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/match_package.cc')
-rw-r--r--paludis/match_package.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/match_package.cc b/paludis/match_package.cc
index e50a17e3d..f9eb55eca 100644
--- a/paludis/match_package.cc
+++ b/paludis/match_package.cc
@@ -90,10 +90,10 @@ paludis::match_package_with_maybe_changes(
if (spec.package_name_constraint() && spec.package_name_constraint()->name() != id->name())
return false;
- if (spec.package_name_part_ptr() && *spec.package_name_part_ptr() != id->name().package())
+ if (spec.package_name_part_constraint() && spec.package_name_part_constraint()->name_part() != id->name().package())
return false;
- if (spec.category_name_part_ptr() && *spec.category_name_part_ptr() != id->name().category())
+ if (spec.category_name_part_constraint() && spec.category_name_part_constraint()->name_part() != id->name().category())
return false;
if (spec.version_requirements_ptr())