summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-search.cc3
1 files changed, 2 insertions, 1 deletions
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();
}