diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-28 15:51:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-28 15:51:58 -0500 |
commit | fe7969ef886d7287fa959929ddd33fbad8407884 (patch) | |
tree | 589aacc109d27561a5188bb46bce27c78bad8f5b /tools/linguist | |
parent | dba8a853b65e5707e48450e5085e0ff0513b4203 (diff) | |
download | tqt3-fe7969ef886d7287fa959929ddd33fbad8407884.tar.gz tqt3-fe7969ef886d7287fa959929ddd33fbad8407884.zip |
Automated update from Qt3
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/linguist/msgedit.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/lupdate/fetchtr.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/linguist/linguist/msgedit.cpp b/tools/linguist/linguist/msgedit.cpp index 5148f5b89..cd532d567 100644 --- a/tools/linguist/linguist/msgedit.cpp +++ b/tools/linguist/linguist/msgedit.cpp @@ -113,7 +113,7 @@ TQString richText( const TQString& text ) } else if ( ch == '&' ) { rich += TQString( "&" ); } else if ( ch == ' ' ) { - if ( i == 0 || i == (text.length()-1) || text[i - 1] == ' ' || text[i + 1] == ' ' ) { + if ( i == 0 || i == ((int) text.length()-1) || text[i - 1] == ' ' || text[i + 1] == ' ' ) { rich += richMeta( MessageEditor::tr("sp") ); } else { rich += ' '; diff --git a/tools/linguist/lupdate/fetchtr.cpp b/tools/linguist/lupdate/fetchtr.cpp index 7ff6a0387..d72b911c6 100644 --- a/tools/linguist/lupdate/fetchtr.cpp +++ b/tools/linguist/lupdate/fetchtr.cpp @@ -573,9 +573,9 @@ static void parse( MetaTranslator *tor, const char *initialContext, (match(Tok_Comma) && matchString(&com) && (match(Tok_RightParen) || - match(Tok_Comma) && - matchEncoding(&utf8) && - match(Tok_RightParen))) ) + (match(Tok_Comma) && + matchEncoding(&utf8) && + match(Tok_RightParen)))) ) tor->insert( MetaTranslatorMessage(context, text, com, TQString::null, utf8) ); } |