diff options
Diffstat (limited to 'pylupdate3/numberh.cpp')
-rw-r--r-- | pylupdate3/numberh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylupdate3/numberh.cpp b/pylupdate3/numberh.cpp index e5ff5de..a52687b 100644 --- a/pylupdate3/numberh.cpp +++ b/pylupdate3/numberh.cpp @@ -140,7 +140,7 @@ static TQString translationAttempt( const TQString& oldTranslation, for ( k = 0; k < p; k++ ) { if ( (!met[k] || pass > 0) && matchedYet[k] == (int) oldNumbers[k].length() && - numberLength(oldTranslation.latin1() + (i + 1) - + numberLength(oldTranslation.utf8() + (i + 1) - matchedYet[k]) == matchedYet[k] ) { // the longer the better if ( best == p || matchedYet[k] > matchedYet[best] ) |