Minor updates to GormNSSplitViewInspector code

This commit is contained in:
Gregory John Casamento 2021-10-23 17:40:54 -04:00
parent 09c3b5e556
commit a184d826fb

View file

@ -25,15 +25,18 @@
{
if ([NSBundle loadNibNamed: @"GormNSSplitViewInspector"
owner: self] == NO)
{
NSDictionary *table;
NSBundle *bundle;
{
NSDictionary *table = nil;
NSBundle *bundle = nil;
BOOL loaded = NO;
table = [NSDictionary dictionaryWithObject: self forKey: @"NSOwner"];
bundle = [NSBundle mainBundle];
if ([bundle loadNibFile: @"GormNSSplitViewInspector"
externalNameTable: table
withZone: [self zone]] == NO)
loaded = [bundle loadNibFile: @"GormNSSplitViewInspector"
externalNameTable: table
withZone: [self zone]];
if (!loaded)
{
NSLog(@"Could not open gorm GormNSSplitViewInspector");
NSLog(@"self %@", self);