Fix small bug found by compiler.

This commit is contained in:
fredkiefer 2017-07-22 20:44:45 +02:00
parent 6f22d6429e
commit fd6e7f2e42
2 changed files with 6 additions and 1 deletions

View file

@ -161,7 +161,7 @@ static NSMutableDictionary *_modelMap = nil;
NSEnumerator *oen = [sortedArray objectEnumerator];
Class cls = nil;
while ((cls = [oen nextObject]) != nil && result == NO)
while ((cls = [oen nextObject]) != nil && result == nil)
{
NSString *path = [modelPath stringByAppendingPathExtension:
(NSString *)[cls type]];