Clang errors when format strings expected

but aren’t provided
This commit is contained in:
Matt Thomas authored and Vaclav Slavik committed 2013-09-21 12:29:02 +02:00
1 parent dfa27acde2
commit 6ab4163957
1 file changed
+1 -1
+1 -1
View File
@@ -201,7 +201,7 @@
- (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:SULocalizedString([error localizedDescription], nil)];
[self showModalAlert:alert];
[super abortUpdateWithError:error];
}