diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-02-24 03:11:17 +0800 |
---|---|---|
committer | Daniel Hartwig <mandyke@gmail.com> | 2012-02-24 03:11:17 +0800 |
commit | 9ea9f7d824f1ff3f8f654cff227097fa1967641c (patch) | |
tree | e5e6e5911b763c296cd0814c6b218e7137d34ff2 | |
parent | 769aa2a462e366db12e582982969d60e5ef06394 (diff) | |
download | aptitude-9ea9f7d824f1ff3f8f654cff227097fa1967641c.tar.gz |
Use arch-qualified names in pkg_columnizer
-rw-r--r-- | src/pkg_columnizer.cc | 2 | ||||
-rw-r--r-- | src/pkg_ver_item.cc | 2 |
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); |