From 6d1638620f3da1664aa3b86c46852515fc78707c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 22 Mar 2025 13:58:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- doc/html/decodeRFC2047_8cpp-source.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/decodeRFC2047_8cpp-source.html') diff --git a/doc/html/decodeRFC2047_8cpp-source.html b/doc/html/decodeRFC2047_8cpp-source.html index 6e1d556..faf10b5 100644 --- a/doc/html/decodeRFC2047_8cpp-source.html +++ b/doc/html/decodeRFC2047_8cpp-source.html @@ -84,7 +84,7 @@ 00067 char *pos, *beg, *end, *mid; 00068 TQCString str, cstr, LWSP_buffer; 00069 char encoding, ch; -00070 bool valid, lastWasEncodedWord=FALSE; +00070 bool valid, lastWasEncodedWord=false; 00071 const int maxLen=200; 00072 int i; 00073 @@ -113,13 +113,13 @@ 00096 { 00097 result += LWSP_buffer + pos[0]; 00098 LWSP_buffer = 0; -00099 lastWasEncodedWord = FALSE; +00099 lastWasEncodedWord = false; 00100 continue; 00101 } 00102 // found possible encoded-word 00103 beg = pos+2; 00104 end = beg; -00105 valid = TRUE; +00105 valid = true; 00106 // parse charset name 00107 charset = ""; 00108 for (i=2,pos+=2; i<maxLen && (*pos!='?'&&(*pos==' '||ispunct(*pos)||isalnum(*pos))); i++) @@ -127,13 +127,13 @@ 00110 charset += *pos; 00111 pos++; 00112 } -00113 if (*pos!='?' || i<4 || i>=maxLen) valid = FALSE; +00113 if (*pos!='?' || i<4 || i>=maxLen) valid = false; 00114 else 00115 { 00116 // get encoding and check delimiting question marks 00117 encoding = toupper(pos[1]); 00118 if (pos[2]!='?' || (encoding!='Q' && encoding!='B')) -00119 valid = FALSE; +00119 valid = false; 00120 pos+=3; 00121 i+=3; 00122 } @@ -148,7 +148,7 @@ 00131 } 00132 end = pos+2;//end now points to the first char after the encoded string 00133 if (i>=maxLen || !*pos) -00134 valid = FALSE; +00134 valid = false; 00135 } 00136 if (valid) 00137 { @@ -176,7 +176,7 @@ 00159 result += codec->toUnicode(cstr); 00160 else 00161 result += TQString::fromLocal8Bit(cstr); -00162 lastWasEncodedWord = TRUE; +00162 lastWasEncodedWord = true; 00163 00164 *pos = ch; 00165 pos = end -1; @@ -190,7 +190,7 @@ 00173 result += LWSP_buffer; 00174 result += *pos++; 00175 result += *pos; -00176 lastWasEncodedWord = FALSE; +00176 lastWasEncodedWord = false; 00177 } 00178 LWSP_buffer = 0; 00179 } -- cgit v1.2.3