Changeset 651 for trunk/tools/linguist/lupdate/merge.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/tools/linguist/lupdate/merge.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 61 61 static int numberLength(const QString &s, int i) 62 62 { 63 if (i <s.size() || !s.at(i).isDigit())63 if (i >= s.size() || !s.at(i).isDigit()) 64 64 return 0; 65 65 … … 88 88 bool metSomething = false; 89 89 90 for (int i = 0; i !=key.size(); ++i) {90 for (int i = 0; i < key.size(); ++i) { 91 91 int len = numberLength(key, i); 92 92 if (len > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.