mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
Fix small bug found by compiler.
This commit is contained in:
parent
6f22d6429e
commit
fd6e7f2e42
2 changed files with 6 additions and 1 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue