aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_display_resolution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_display_resolution.cc')
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 14d45cd00..a1f6e82f5 100755
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -136,9 +136,9 @@ namespace
std::string get_annotation(
const std::shared_ptr<const DepSpecAnnotations> & annotations,
- const std::string & name)
+ const DepSpecAnnotationRole role)
{
- auto i(annotations->find(name));
+ auto i(annotations->find(role));
if (i == annotations->end())
return "";
@@ -171,7 +171,7 @@ namespace
std::pair<std::string, Tribool> result(unannotated);
- std::string description_annotation(get_annotation(key, "description"));
+ std::string description_annotation(get_annotation(key, dsar_general_description));
if (! description_annotation.empty())
{
result.first = result.first + ": \"" + description_annotation + "\"";