diff options
author | Marius Ursache <bamse16@yahoo.com> | 2013-11-09 23:22:06 +1100 |
---|---|---|
committer | Marius Ursache <bamse16@yahoo.com> | 2013-11-09 23:22:06 +1100 |
commit | a80262df96d4b5140cc4a2f7ec5d19bc727d9000 (patch) | |
tree | 5804f95c60655f89d96d493596440893a17deaf1 /Source/SPTablesList.m | |
parent | ea11cc2178b3d8fb7f9e0952bb9dce1eaddbe8ea (diff) | |
download | sequelpro-a80262df96d4b5140cc4a2f7ec5d19bc727d9000.tar.gz sequelpro-a80262df96d4b5140cc4a2f7ec5d19bc727d9000.tar.bz2 sequelpro-a80262df96d4b5140cc4a2f7ec5d19bc727d9000.zip |
Cleaned up Format string is not a string literal (potentially insecure) errors
Diffstat (limited to 'Source/SPTablesList.m')
-rw-r--r-- | Source/SPTablesList.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m index fb07dfef..0f4f743a 100644 --- a/Source/SPTablesList.m +++ b/Source/SPTablesList.m @@ -1822,8 +1822,8 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable"; defaultButton:NSLocalizedString(@"OK", @"OK button") alternateButton:nil otherButton:nil - informativeTextWithFormat:[NSString stringWithFormat:NSLocalizedString(@"An error occurred while trying to import a table via: \n%@\n\n\nMySQL said: %@", @"error importing table informative message"), - query, [mySQLConnection lastErrorMessage]]]; + informativeTextWithFormat:NSLocalizedString(@"An error occurred while trying to import a table via: \n%@\n\n\nMySQL said: %@", @"error importing table informative message"), + query, [mySQLConnection lastErrorMessage]]; [alert setAlertStyle:NSCriticalAlertStyle]; [alert beginSheetModalForWindow:[tableDocumentInstance parentWindow] modalDelegate:self didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:) contextInfo:@"truncateTableError"]; @@ -2273,8 +2273,8 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable"; defaultButton:NSLocalizedString(@"OK", @"OK button") alternateButton:nil otherButton:nil - informativeTextWithFormat:[NSString stringWithFormat:NSLocalizedString(@"An error occurred while trying to truncate the table '%@'.\n\nMySQL said: %@", @"error truncating table informative message"), - [filteredTables objectAtIndex:currentIndex], [mySQLConnection lastErrorMessage]]]; + informativeTextWithFormat:NSLocalizedString(@"An error occurred while trying to truncate the table '%@'.\n\nMySQL said: %@", @"error truncating table informative message"), + [filteredTables objectAtIndex:currentIndex], [mySQLConnection lastErrorMessage]]; [alert setAlertStyle:NSCriticalAlertStyle]; |