aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 5fc7368f1..465102779 100755
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -197,7 +197,7 @@ namespace
if (r.sanitised_dependency().spec().if_block())
return annotate(r.sanitised_dependency().spec().if_block()->maybe_annotations(),
std::make_pair(stringify(*r.sanitised_dependency().spec().if_block())
- + " from " + (verbose ? stringify(*r.from_id()) : stringify(r.from_id()->name())),
+ + " from " + stringify(*r.from_id()),
false), true);
else
{
@@ -235,7 +235,7 @@ namespace
}
return annotate(r.sanitised_dependency().spec().if_package()->maybe_annotations(),
- std::make_pair(stringify(r.from_id()->name()) + ts, false), false);
+ std::make_pair(stringify(*r.from_id()) + ts, false), false);
}
}
}