summaryrefslogtreecommitdiffstats
path: root/pytqlupdate3/numberh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pytqlupdate3/numberh.cpp')
-rw-r--r--pytqlupdate3/numberh.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pytqlupdate3/numberh.cpp b/pytqlupdate3/numberh.cpp
index a52687b..1392b60 100644
--- a/pytqlupdate3/numberh.cpp
+++ b/pytqlupdate3/numberh.cpp
@@ -55,14 +55,14 @@ static TQCString zeroKey( const char *key )
char *z = zeroed.data();
int i = 0, j = 0;
int len;
- bool metSomething = FALSE;
+ bool metSomething = false;
while ( key[i] != '\0' ) {
len = numberLength( key + i );
if ( len > 0 ) {
i += len;
z[j++] = '0';
- metSomething = TRUE;
+ metSomething = true;
} else {
z[j++] = key[i++];
}
@@ -107,7 +107,7 @@ static TQString translationAttempt( const TQString& oldTranslation,
newNumbers.append( TQCString(newSource + j, n + 1) );
i += m;
j += n;
- met[k] = FALSE;
+ met[k] = false;
matchedYet[k] = 0;
k++;
}
@@ -150,7 +150,7 @@ static TQString translationAttempt( const TQString& oldTranslation,
if ( best != p ) {
attempt.truncate( attempt.length() - matchedYet[best] );
attempt += newNumbers[best];
- met[best] = TRUE;
+ met[best] = true;
for ( k = 0; k < p; k++ )
matchedYet[k] = 0;
break;