Fixes 253145

Fixed a stupid typo in the +[SUUpdater updaterForBundle:] method.
This commit is contained in:
Andy Matuschak committed 2008-07-29 22:54:39 -07:00
1 parent d6557e21a0
commit d8149e9eb0
1 file changed
+2 -1
+2 -1
View File
@@ -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;
}