]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
merged from lp:~donkult/apt/sid
[apt.git] / apt-pkg / pkgcache.cc
index bb28a33ca5dab5f84a07b0690feb79237529c437..a66a5198d507f9bf35667660ae510a6bd0415839 100644 (file)
@@ -894,7 +894,8 @@ pkgCache::DescIterator pkgCache::VerIterator::TranslatedDescription() const
       pkgCache::DescIterator Desc = DescDefault;
 
       for (; Desc.end() == false; Desc++)
-        if (*l == Desc.LanguageCode())
+        if (*l == Desc.LanguageCode() ||
+            (*l == "en" && strcmp(Desc.LanguageCode(),"") == 0))
            break;
       if (Desc.end() == true) 
         Desc = DescDefault;