X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ace5a062fc5390e636b09c5684bfbeae755cf437..08fcf9628806af202e555bd02b3611e4e9a3d757:/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(); }