--- MacRuby/trunk/string.c 2009-10-16 01:24:02 UTC (rev 2823)
+++ MacRuby/trunk/string.c 2009-10-16 01:27:38 UTC (rev 2824)
@@ -5290,7 +5290,7 @@
{
bool flag;
PREPARE_RCV(rcv);
- flag = other && CFEqual((CFTypeRef)rcv, (CFTypeRef)other);
+ flag = (other != NULL) && CFEqual((CFTypeRef)rcv, (CFTypeRef)other);
RESTORE_RCV(rcv);
return flag;
}