diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-01-19 12:54:05 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-01-19 12:54:05 +0100 |
commit | 915bdcf748bc54410fb3e0b15c812cb7132c64e3 (patch) | |
tree | 7c5564da981b15393e54e5fdf7ec59d393cea805 /apt-pkg | |
parent | 6b75a560808457d8cd0fac9ce4917eda1d7ed53d (diff) |
* apt-pkg/pkgcachegen.cc:
- fix apt-cache search for localized description
(closes: #512110)
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index f71547f39..397c19829 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/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; |