]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-search.cc
warn if apt-key is used in scripts/its output parsed
[apt.git] / apt-private / private-search.cc
index 4f2bc491343b14ceb290912e3a31fbf9eaa28d4f..bae04173d9f70302478d40876c54f99e2979b712 100644 (file)
@@ -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();
       }