From: Roberto Raggi Date: Mon, 1 Aug 2011 14:49:08 +0000 (+0200) Subject: Fix comparison. X-Git-Tag: qt-v5.0.0-alpha1~1812 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cffc600f310cec5a8a2b6622fa260f930883cbf4;p=profile%2Fivi%2Fqtdeclarative.git Fix comparison. Change-Id: I58ae5237f3458ee4bada89d1d676645e575d681f Reviewed-on: http://codereview.qt.nokia.com/3777 Reviewed-by: Roberto Raggi Reviewed-by: Qt Sanity Bot --- diff --git a/src/declarative/qml/ftw/qhashedstring.cpp b/src/declarative/qml/ftw/qhashedstring.cpp index d7f951c..4a7b337 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; }