diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-01-24 20:18:39 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-01-24 20:18:39 +0100 |
commit | 5b172c0263c12f1163cfa17170a9b0da917e782c (patch) | |
tree | a8a978b0ca1891c492c554c8c1d9cbf5c030b529 /apt-pkg/cacheiterators.h | |
parent | 76dbf3cee365788eb7291c96f06b73a3769946d6 (diff) | |
parent | 3102af74e7ffaab3f47741c05451ce7f0e3b38fe (diff) |
merged from experimental
Diffstat (limited to 'apt-pkg/cacheiterators.h')
-rw-r--r-- | apt-pkg/cacheiterators.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index e6a0fddb0..d5e018be9 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -207,7 +207,7 @@ class pkgCache::VerIterator : public Iterator<Version, VerIterator> { inline const char *VerStr() const {return S->VerStr == 0?0:Owner->StrP + S->VerStr;}; inline const char *Section() const {return S->Section == 0?0:Owner->StrP + S->Section;}; inline const char *Arch() const { - if (S->MultiArch == pkgCache::Version::All) + if ((S->MultiArch & pkgCache::Version::All) == pkgCache::Version::All) return "all"; return S->ParentPkg == 0?0:Owner->StrP + ParentPkg()->Arch; }; |