From a80262df96d4b5140cc4a2f7ec5d19bc727d9000 Mon Sep 17 00:00:00 2001 From: Marius Ursache Date: Sat, 9 Nov 2013 23:22:06 +1100 Subject: Cleaned up Format string is not a string literal (potentially insecure) errors --- Source/SPBundleHTMLOutputController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/SPBundleHTMLOutputController.m') diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m index 444d59e0..e3def2db 100644 --- a/Source/SPBundleHTMLOutputController.m +++ b/Source/SPBundleHTMLOutputController.m @@ -520,7 +520,7 @@ defaultButton:NSLocalizedString(@"OK", @"OK button") alternateButton:nil otherButton:nil - informativeTextWithFormat:mes]; + informativeTextWithFormat:@"%@", mes]; [alert setAlertStyle:NSCriticalAlertStyle]; [alert runModal]; @@ -540,7 +540,7 @@ defaultButton:NSLocalizedString(@"OK", @"OK button") alternateButton:nil otherButton:nil - informativeTextWithFormat:mes]; + informativeTextWithFormat:@"%@", mes]; [alert setAlertStyle:NSCriticalAlertStyle]; [alert runModal]; @@ -689,7 +689,7 @@ defaultButton:NSLocalizedString(@"OK", @"OK button") alternateButton:nil otherButton:nil - informativeTextWithFormat:[err localizedDescription]]; + informativeTextWithFormat:@"%@", [err localizedDescription]]; [alert setAlertStyle:NSCriticalAlertStyle]; [alert runModal]; -- cgit v1.2.3