diff options
Diffstat (limited to 'apple_remote/source/RemoteControl.m')
-rw-r--r-- | apple_remote/source/RemoteControl.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apple_remote/source/RemoteControl.m b/apple_remote/source/RemoteControl.m index 9cf840527bd3..2d4021a910b1 100644 --- a/apple_remote/source/RemoteControl.m +++ b/apple_remote/source/RemoteControl.m @@ -49,7 +49,7 @@ NSString* kTargetApplicationIdentifier = @"TargetBundleIdentifier"; // returns nil if the remote control device is not available - (id) initWithDelegate: (id) _remoteControlDelegate { - if ( (self = [super init]) ) { + if ( (self = [super init]) ) { delegate = [_remoteControlDelegate retain]; #ifdef DEBUG NSLog( @"Apple RemoteControl initWithDelegate ok"); @@ -59,8 +59,8 @@ NSString* kTargetApplicationIdentifier = @"TargetBundleIdentifier"; } - (void) dealloc { - [delegate release]; - [super dealloc]; + [delegate release]; + [super dealloc]; } - (void) setListeningToRemote: (BOOL) value { |