projects
/
profile
/
ivi
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11698ec
)
Fix comparison.
author
Roberto Raggi
<roberto.raggi@nokia.com>
Mon, 1 Aug 2011 14:49:08 +0000
(16:49 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Tue, 30 Aug 2011 11:18:28 +0000
(13:18 +0200)
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>
src/declarative/qml/ftw/qhashedstring.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/qml/ftw/qhashedstring.cpp
b/src/declarative/qml/ftw/qhashedstring.cpp
index
d7f951c
..
4a7b337
100644
(file)
--- 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;
}