summaryrefslogtreecommitdiff
path: root/src/pkg_ver_item.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2005-11-15 22:50:53 +0000
committerDaniel Burrows <dburrows@debian.org>2005-11-15 22:50:53 +0000
commit737e7996bd29716d6cef090684f466b1106a1191 (patch)
tree163bfdc1d038c1c3e9375b18b6938c44c36f7f64 /src/pkg_ver_item.cc
parent50bbe5fbdb536d0e5185dad6bf640109c476614e (diff)
downloadaptitude-737e7996bd29716d6cef090684f466b1106a1191.tar.gz
[aptitude @ Use the new description-extraction routines instead of directly looking up the description.]
Diffstat (limited to 'src/pkg_ver_item.cc')
-rw-r--r--src/pkg_ver_item.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pkg_ver_item.cc b/src/pkg_ver_item.cc
index 49650795..45a5e8f9 100644
--- a/src/pkg_ver_item.cc
+++ b/src/pkg_ver_item.cc
@@ -329,10 +329,7 @@ column_disposition pkg_ver_columnizer::setup_column(int type)
break;
case description:
- if(ver.end())
- return column_disposition("", 0);
-
- return column_disposition(apt_package_records->Lookup(ver.FileList()).ShortDesc(), 0);
+ return column_disposition(get_short_description(ver), 0);
case maintainer:
if(ver.end())
return column_disposition("", 0);