summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-02-24 03:11:17 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-02-24 03:11:17 +0800
commit9ea9f7d824f1ff3f8f654cff227097fa1967641c (patch)
treee5e6e5911b763c296cd0814c6b218e7137d34ff2
parent769aa2a462e366db12e582982969d60e5ef06394 (diff)
downloadaptitude-9ea9f7d824f1ff3f8f654cff227097fa1967641c.tar.gz
Use arch-qualified names in pkg_columnizer
-rw-r--r--src/pkg_columnizer.cc2
-rw-r--r--src/pkg_ver_item.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg_columnizer.cc b/src/pkg_columnizer.cc
index 152b879f..634aa013 100644
--- a/src/pkg_columnizer.cc
+++ b/src/pkg_columnizer.cc
@@ -125,7 +125,7 @@ cw::column_disposition pkg_item::pkg_columnizer::setup_column(const pkgCache::Pk
{
case name:
if(!pkg.end())
- return cw::column_disposition(pkg.Name(), basex);
+ return cw::column_disposition(pkg.FullName(true), basex);
else
return cw::column_disposition("", 0);
diff --git a/src/pkg_ver_item.cc b/src/pkg_ver_item.cc
index 17e0df9a..15e027d1 100644
--- a/src/pkg_ver_item.cc
+++ b/src/pkg_ver_item.cc
@@ -75,7 +75,7 @@ cw::column_disposition pkg_ver_columnizer::setup_column(const pkgCache::VerItera
if(ver.end())
return cw::column_disposition("", 0);
else if(show_pkg_name)
- return cw::column_disposition(string(ver.ParentPkg().Name())+" "+ver.VerStr(), basex);
+ return cw::column_disposition(string(ver.ParentPkg().FullName(true))+" "+ver.VerStr(), basex);
else
return cw::column_disposition(ver.VerStr(), basex);