summaryrefslogtreecommitdiff
path: root/src/pkg_info_screen.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2007-10-30 07:47:55 -0700
committerDaniel Burrows <dburrows@debian.org>2007-10-30 07:47:55 -0700
commit9bc6f80392681e16d9c75e7962915ce2a3dc38d0 (patch)
tree650ac0ef6a04be74702c1a2154f30e568fa7f053 /src/pkg_info_screen.cc
parent1193257d676b67976b15c61bedd5e51d3bad83b1 (diff)
downloadaptitude-9bc6f80392681e16d9c75e7962915ce2a3dc38d0.tar.gz
Properly thread pointers to the cache and the package records through match routines, so that matchers work from inside the cache while it's being initialized (e.g., in the garbage detection routine) instead of crashing.
Diffstat (limited to 'src/pkg_info_screen.cc')
-rw-r--r--src/pkg_info_screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg_info_screen.cc b/src/pkg_info_screen.cc
index 42ba773a..8abcf0ce 100644
--- a/src/pkg_info_screen.cc
+++ b/src/pkg_info_screen.cc
@@ -78,7 +78,7 @@ void pkg_grouppolicy_info::setup_package_info(const pkgCache::PkgIterator &pkg,
{
pkgRecords::Parser &rec=apt_package_records->Lookup(ver.FileList());
- std::wstring desc(get_long_description(ver));
+ std::wstring desc(get_long_description(ver, apt_package_records));
std::wstring shortdesc(desc, 0, desc.find(L'\n'));
vector<fragment*> frags;