mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fixes 253145
Fixed a stupid typo in the +[SUUpdater updaterForBundle:] method.
This commit is contained in:
1 parent
d6557e21a0
commit
d8149e9eb0
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user