summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2008-10-07 20:38:46 +0200
committerMichael Vogt <mvo@debian.org>2008-10-07 20:38:46 +0200
commit2ee50e0af732ddd94222ca7cbb120341651b02f0 (patch)
tree8da51623f9e3b66498c46846d3e997ac8506b47f /apt-pkg/pkgcache.cc
parentc5fdf360513f8d2e5858711ff46c744cddcdeb6f (diff)
parent12f894a435b5c6766835be434be41734e1ee631c (diff)
merged from debian-sid
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index 133899a27..8eb62089a 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -622,7 +622,8 @@ pkgCache::DescIterator pkgCache::VerIterator::TranslatedDescription() const
for (; Desc.end() == false; Desc++)
if (pkgIndexFile::LanguageCode() == Desc.LanguageCode())
break;
- if (Desc.end() == true) Desc = DescDefault;
+ if (Desc.end() == true)
+ Desc = DescDefault;
return Desc;
};