aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-01-28 23:53:14 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-01-28 23:53:14 +0000
commit7a971c183f7e4dee03281ceadc03138aeb1c6108 (patch)
tree09f42b06150d68fab5b1e4f424776c8326f263e0
parentfbb9ac200586f35b10d3f15734c29d2596063f28 (diff)
downloadpaludis-7a971c183f7e4dee03281ceadc03138aeb1c6108.tar.gz
paludis-7a971c183f7e4dee03281ceadc03138aeb1c6108.tar.xz
Distinguish between SLOTs when displaying % signs on USE-flags.
-rw-r--r--src/output/console_install_task.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index 4584afe..5849b2c 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -830,8 +830,8 @@ ConsoleInstallTask::_add_descriptions(UseFlagNameCollection::ConstPointer c,
void
ConsoleInstallTask::display_merge_list_entry_use(const DepListEntry & d,
- PackageDatabaseEntryCollection::ConstPointer existing,
PackageDatabaseEntryCollection::ConstPointer,
+ PackageDatabaseEntryCollection::ConstPointer existing_slot,
const DisplayMode m)
{
if (normal_entry != m && suggested_entry != m)
@@ -839,7 +839,7 @@ ConsoleInstallTask::display_merge_list_entry_use(const DepListEntry & d,
output_no_endl(" ");
UseFlagPrettyPrinter::Pointer printer(make_use_flag_pretty_printer());
- printer->print_package_flags(d.package, existing->empty() ? 0 : &*existing->last());
+ printer->print_package_flags(d.package, existing_slot->empty() ? 0 : &*existing_slot->last());
_add_descriptions(printer->new_flags(), d.package, uds_new);
_add_descriptions(printer->changed_flags(), d.package, uds_changed);