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-29 22:58:05 +0900
commita88d4d648a4ae2d7d7abd23916b49b41c1a867f3 (patch)
tree73aacc657e135ab179010d102fdbd7a0a9edc40d /libkpgp/kpgpbase2.cpp
parent409b67ac0559a06dc58da81fc90f0ba959d6068c (diff)
downloadtdepim-a88d4d648a4ae2d7d7abd23916b49b41c1a867f3.tar.gz
tdepim-a88d4d648a4ae2d7d7abd23916b49b41c1a867f3.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8f878546e0a859e78dfc2c6ff7f08507347a76ea)
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 += ", ";