X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ace5a062fc5390e636b09c5684bfbeae755cf437..cb6020cdfea3d6dec6f6ad13843ab46f0c10d562:/apt-private/private-search.cc?ds=sidebyside 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(); }