summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpbase2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkpgp/kpgpbase2.cpp')
-rw-r--r--libkpgp/kpgpbase2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkpgp/kpgpbase2.cpp b/libkpgp/kpgpbase2.cpp
index 255701a6..7ff0cbaf 100644
--- a/libkpgp/kpgpbase2.cpp
+++ b/libkpgp/kpgpbase2.cpp
@@ -115,7 +115,7 @@ Base2::encsign( Block& block, const KeyIDList& recipients,
if(!recipients.isEmpty())
{
int index = 0;
- bool bad = FALSE;
+ bool bad = false;
unsigned int num = 0;
TQCString badkeys = "";
if (error.find("Cannot find the public key") != -1)
@@ -125,7 +125,7 @@ Base2::encsign( Block& block, const KeyIDList& recipients,
while((index = error.find("Cannot find the public key",index))
!= -1)
{
- bad = TRUE;
+ bad = true;
index = error.find('\'',index);
int index2 = error.find('\'',index+1);
if (num++)
@@ -156,7 +156,7 @@ Base2::encsign( Block& block, const KeyIDList& recipients,
while((index = error.find("skipping userid",index))
!= -1)
{
- bad = TRUE;
+ bad = true;
int index2 = error.find('\n',index+16);
if (num++)
badkeys += ", ";