Browse Source

* apt-pkg/pkgcachegen.cc:

- fix apt-cache search for localized description 
    (closes: #512110)
debian/1.8.y
Michael Vogt 14 years ago
parent
commit
915bdcf748
  1. 2
      apt-pkg/pkgcachegen.cc
  2. 6
      debian/changelog

2
apt-pkg/pkgcachegen.cc

@ -143,7 +143,7 @@ bool pkgCacheGenerator::MergeList(ListParser &List,
// don't add a new description if we have one for the given
// md5 && language
for ( ; Desc.end() == false; LastDesc = &Desc->NextDesc, Desc++)
for ( ; Desc.end() == false; Desc++)
if (MD5SumValue(Desc.md5()) == CurMd5 &&
Desc.LanguageCode() == List.DescriptionLanguage())
duplicate=true;

6
debian/changelog

@ -1,5 +1,11 @@
apt (0.7.21) UNRELEASED; urgency=low
[ Michael Vogt ]
* apt-pkg/pkgcachegen.cc:
- fix apt-cache search for localized description
(closes: #512110)
[ Christian Perrier ]
* Translations:
- fr.po: fix spelling error to "défectueux". Thanks to Thomas Péteul.

Loading…
Cancel
Save