aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/ftw
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2011-08-01 16:49:08 +0200
committerQt by Nokia <qt-info@nokia.com>2011-08-30 13:18:28 +0200
commitcffc600f310cec5a8a2b6622fa260f930883cbf4 (patch)
tree887b44ea38e52e7d1314d8575aa29e14a0535f16 /src/declarative/qml/ftw
parent11698ec98d8ef21a5c079c602903c8ab183aa9f7 (diff)
Fix comparison.
Change-Id: I58ae5237f3458ee4bada89d1d676645e575d681f Reviewed-on: http://codereview.qt.nokia.com/3777 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/declarative/qml/ftw')
-rw-r--r--src/declarative/qml/ftw/qhashedstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/ftw/qhashedstring.cpp b/src/declarative/qml/ftw/qhashedstring.cpp
index d7f951ce6a..4a7b3376cc 100644
--- a/src/declarative/qml/ftw/qhashedstring.cpp
+++ b/src/declarative/qml/ftw/qhashedstring.cpp
@@ -83,7 +83,7 @@ uint32_t calculateHash(const schar* chars, int length) {
int d = c - '0';
if (is_first_char) {
is_first_char = false;
- if (c = '0' && length > 1) {
+ if (c == '0' && length > 1) {
is_array_index = false;
continue;
}