summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpbase2.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-27 16:55:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-27 16:55:48 +0900
commit8f878546e0a859e78dfc2c6ff7f08507347a76ea (patch)
treef95c1e5a2f97a2e200be23cd5d6ffde91487bd1d /libkpgp/kpgpbase2.cpp
parent625d3c38cd3a49d07b6e1f511fe06d0792440791 (diff)
downloadtdepim-8f878546e0a859e78dfc2c6ff7f08507347a76ea.tar.gz
tdepim-8f878546e0a859e78dfc2c6ff7f08507347a76ea.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 be30f9f4..7299762e 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 += ", ";