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/SPConnectionControllerDelegate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPConnectionControllerDelegate.m') diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index 1865a6a2..a704de92 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -678,7 +678,7 @@ static NSString *SPQuickConnectImageWhite = @"quick-connect-icon-white.pdf"; defaultButton:NSLocalizedString(@"OK", @"OK") alternateButton:nil otherButton:nil - informativeTextWithFormat:[NSString stringWithFormat:NSLocalizedString(@"The following error occurred during the export process:\n\n%@", @"favorites export error informative message"), [error localizedDescription]]]; + informativeTextWithFormat:NSLocalizedString(@"The following error occurred during the export process:\n\n%@", @"favorites export error informative message"), [error localizedDescription]]; [alert beginSheetModalForWindow:[dbDocument parentWindow] modalDelegate:self @@ -730,7 +730,7 @@ static NSString *SPQuickConnectImageWhite = @"quick-connect-icon-white.pdf"; defaultButton:NSLocalizedString(@"OK", @"OK") alternateButton:nil otherButton:nil - informativeTextWithFormat:[NSString stringWithFormat:NSLocalizedString(@"The following error occurred during the import process:\n\n%@", @"favorites import error informative message"), [error localizedDescription]]]; + informativeTextWithFormat:NSLocalizedString(@"The following error occurred during the import process:\n\n%@", @"favorites import error informative message"), [error localizedDescription]]; [alert beginSheetModalForWindow:[dbDocument parentWindow] modalDelegate:self -- cgit v1.2.3