* Source/NSBundleAdditions.m (-pathForNibResource:): Report type

not filename while iterating.
This commit is contained in:
fredkiefer 2019-12-29 22:19:24 +01:00
parent 490d47cd05
commit 560f68323b
2 changed files with 6 additions and 1 deletions

View file

@ -110,7 +110,7 @@
enumerator = [types objectEnumerator];
while ((type = [enumerator nextObject]))
{
NSDebugLLog(@"NIB", @"Checking type %@", fileName);
NSDebugLLog(@"NIB", @"Checking type %@", type);
NSString *path = [self pathForResource: fileName
ofType: type];
if (path != nil)