X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ace5a062fc5390e636b09c5684bfbeae755cf437..e2c8c825a5470e33c25d00e07de188d0e03922c8:/apt-private/private-search.cc diff --git a/apt-private/private-search.cc b/apt-private/private-search.cc index 4f2bc4913..bae04173d 100644 --- a/apt-private/private-search.cc +++ b/apt-private/private-search.cc @@ -92,7 +92,8 @@ static bool FullTextSearch(CommandLine &CmdL) /*{{{*/ char const * const PkgName = P.Name(); pkgCache::DescIterator Desc = V.TranslatedDescription(); std::string LongDesc = ""; - if (!Desc.end()) { + if (Desc.end() == false) + { pkgRecords::Parser &parser = records.Lookup(Desc.FileList()); LongDesc = parser.LongDesc(); }