From cffc600f310cec5a8a2b6622fa260f930883cbf4 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Mon, 1 Aug 2011 16:49:08 +0200 Subject: [PATCH] Fix comparison. Change-Id: I58ae5237f3458ee4bada89d1d676645e575d681f Reviewed-on: http://codereview.qt.nokia.com/3777 Reviewed-by: Roberto Raggi Reviewed-by: Qt Sanity Bot --- src/declarative/qml/ftw/qhashedstring.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.7.2.5