summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-10-07 20:24:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-10-07 20:24:10 +0200
commitc4ed75769f32eee57bd56350709b24b2bb7222aa (patch)
tree4f76b20d2a4c04685132e58437893deb4844f6bc /apt-pkg/pkgcache.cc
parentc5fdf360513f8d2e5858711ff46c744cddcdeb6f (diff)
parent5634f31af3ddd58171b660e48af18d9cb0939275 (diff)
merged from the debain-sid branch
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;
};