summaryrefslogtreecommitdiff
path: root/apt-private/private-search.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-01-12 11:27:13 +0100
committerJulian Andres Klode <jak@debian.org>2016-01-12 11:27:13 +0100
commitfe4a53782211c459e8a50654055ad4f797ad1f3b (patch)
treeee10f535e5d228edf18318b5a1ff8320bc949762 /apt-private/private-search.cc
parent831ea74cddf8568b8648edddb394fdd3d1ba7b8e (diff)
AUTHORS: Update: I am active, bubulle is not
Gbp-Dch: ignore
Diffstat (limited to 'apt-private/private-search.cc')
-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();
}