13 Oct
2009
13 Oct
'09
11:38 p.m.
Revision: 2789 http://trac.macosforge.org/projects/ruby/changeset/2789 Author: neeracher@apple.com Date: 2009-10-13 16:38:08 -0700 (Tue, 13 Oct 2009) Log Message: ----------- Survive str.isEqual(nil) Modified Paths: -------------- MacRuby/trunk/string.c Modified: MacRuby/trunk/string.c =================================================================== --- MacRuby/trunk/string.c 2009-10-13 23:34:59 UTC (rev 2788) +++ MacRuby/trunk/string.c 2009-10-13 23:38:08 UTC (rev 2789) @@ -5290,7 +5290,7 @@ { bool flag; PREPARE_RCV(rcv); - flag = CFEqual((CFTypeRef)rcv, (CFTypeRef)other); + flag = other && CFEqual((CFTypeRef)rcv, (CFTypeRef)other); RESTORE_RCV(rcv); return flag; }
5871
Age (days ago)
5871
Last active (days ago)
0 comments
1 participants
participants (1)
-
source_changes@macosforge.org