Fixes 244726

Fixed a typo in a respondsToSelector call which caused the shouldPromptForPermissionToCheckForUpdatesToHostBundle: method not to work in 1.5b2.
This commit is contained in:
Andy Matuschak committed 2008-07-02 20:05:29 -07:00
1 parent 251706d646
commit a67b546a02
1 file changed
+1 -1
+1 -1
View File
@@ -60,7 +60,7 @@ static SUUpdater *sharedUpdater = nil;
[[SUUserDefaults standardUserDefaults] boolForKey:SUEnableAutomaticChecksKey] == NO) { return; }
// Does the delegate want to take care of the logic for when we should ask permission to update?
if ([delegate respondsToSelector:@selector(shouldPromptForPermissionToCheckForUpdatesToHostBundle)])
if ([delegate respondsToSelector:@selector(shouldPromptForPermissionToCheckForUpdatesToHostBundle:)])
{
if ([delegate shouldPromptForPermissionToCheckForUpdatesToHostBundle:hostBundle])
[SUUpdatePermissionPrompt promptWithHostBundle:hostBundle delegate:self];