diff options
-rw-r--r-- | macosx/Controller.mm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 85417e3a9..1397e8b28 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -33,9 +33,14 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It *******************************/ @implementation HBController -- init +- (id)init { self = [super init]; + if( !self ) + { + return nil; + } + [HBPreferencesController registerUserDefaults]; fHandle = NULL; /* Check for check for the app support directory here as |