From 6ab4163957fdcc2ba22344fffb2295a545e0d29c Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Mon, 16 Sep 2013 09:25:07 -0400 Subject: [PATCH] =?UTF-8?q?Clang=20errors=20when=20format=20strings=20expe?= =?UTF-8?q?cted=20but=20aren=E2=80=99t=20provided?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUUIBasedUpdateDriver.m b/SUUIBasedUpdateDriver.m index dc37e056..41e2be31 100644 --- a/SUUIBasedUpdateDriver.m +++ b/SUUIBasedUpdateDriver.m @@ -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]; }