mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 14:41:28 +00:00
Re #1562. Make native comparison more realistic.
This might have a small speed implication.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user