mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Fixed: Make sure we handle undefined when testing for nil values (#2862)
This commit is contained in:
@@ -297,7 +297,7 @@ var CPSharedDocumentController = nil;
|
||||
var iter = [_documents objectEnumerator],
|
||||
obj;
|
||||
|
||||
while ((obj = [iter nextObject]) !== nil)
|
||||
while ((obj = [iter nextObject]) != nil)
|
||||
{
|
||||
if ([obj isDocumentEdited])
|
||||
return YES;
|
||||
|
||||
Reference in New Issue
Block a user