From a67b546a02af731e8fbf7e7f5db7dc1c716c1b86 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Wed, 2 Jul 2008 20:05:29 -0700 Subject: [PATCH] Fixes 244726 Fixed a typo in a respondsToSelector call which caused the shouldPromptForPermissionToCheckForUpdatesToHostBundle: method not to work in 1.5b2. --- SUUpdater.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUUpdater.m b/SUUpdater.m index b490047f..17077ea6 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -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];