add the donate warning to the reset warnings pref option

This commit is contained in:
Mitchell Livingston
2009-08-14 23:44:25 +00:00
parent 8a4e2d07bc
commit 1f0f6915bb
2 changed files with 3 additions and 2 deletions

View File

@@ -568,8 +568,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
if (donateResult == NSAlertFirstButtonReturn)
[self linkDonate: self];
if ([[alert suppressionButton] state] == NSOnState)
[fDefaults setBool: NO forKey: @"WarningDonate"];
[fDefaults setBool: ([[alert suppressionButton] state] == NSOnState) forKey: @"WarningDonate"];
[alert release];