mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:50:48 +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
|
@ -1,3 +1,8 @@
|
|||
2017-07-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSModelLoaderFactory.m (-supportedModelFileAtPath:): Fix
|
||||
bug found by compiler.
|
||||
|
||||
2017-07-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSEvent.h
|
||||
|
|
|
@ -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