From d8149e9eb0be904414bfbfdbfae2c51c8609ed25 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 29 Jul 2008 22:54:39 -0700 Subject: [PATCH] Fixes 253145 Fixed a stupid typo in the +[SUUpdater updaterForBundle:] method. --- SUUpdater.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SUUpdater.m b/SUUpdater.m index 726b4c73..3fa6e1e6 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -17,6 +17,7 @@ #import "SUScheduledUpdateDriver.h" @interface SUUpdater (Private) +- initForBundle:(NSBundle *)bundle; - (void)checkForUpdatesWithDriver:(SUUpdateDriver *)updateDriver; - (BOOL)automaticallyUpdates; - (void)scheduleNextUpdateCheck; @@ -45,7 +46,7 @@ static NSString *SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObserv if (bundle == nil) bundle = [NSBundle mainBundle]; id updater = [sharedUpdaters objectForKey:[NSValue valueWithNonretainedObject:bundle]]; if (updater == nil) - updater = [[[self class] alloc] initWithBundle:bundle]; + updater = [[[self class] alloc] initForBundle:bundle]; return updater; }