Smarter actual fix for Sparkle

CQTexperiment
Chris Moeller 2013-10-23 16:25:58 -07:00
parent 7af4e94b03
commit 6f8dc14ce1
1 changed files with 1 additions and 3 deletions

View File

@ -199,11 +199,9 @@
}
}
// XXX
#pragma GCC diagnostic ignored "-Wformat-security"
- (void)abortUpdateWithError:(NSError *)error
{
NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]];
NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]];
[self showModalAlert:alert];
[super abortUpdateWithError:error];
}