Re #1562. Make native comparison more realistic.

This might have a small speed implication.
This commit is contained in:
Alexander Ljungberg
2012-06-10 00:59:08 +01:00
parent 58103ce0f3
commit fcf62080d6
+1 -1
View File
@@ -233,7 +233,7 @@ var ELEMENTS = 100,
result = CPOrderedSame;
while (i < count)
if ((result = [descriptors[i++] compareObject:lhs withObject:rhs]) != CPOrderedSame)
if ((result = [descriptors[i++] compareObject:lhs withObject:rhs]) !== CPOrderedSame)
return result;
return result;