aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2014-05-04 22:53:36 +0100
committerrowanbeentje <rowan@beent.je>2014-05-04 22:53:36 +0100
commitbcad9a1827fffb4d132b50bbf1ada08ddde23f09 (patch)
tree5245266378af0894ec692a849a4377289f410e57 /Frameworks/SPMySQLFramework
parent6d33243e4a658d600e646a1b58afb363b9650cdc (diff)
downloadsequelpro-bcad9a1827fffb4d132b50bbf1ada08ddde23f09.tar.gz
sequelpro-bcad9a1827fffb4d132b50bbf1ada08ddde23f09.tar.bz2
sequelpro-bcad9a1827fffb4d132b50bbf1ada08ddde23f09.zip
Fix string formatting warnings in NSRunAlertPanel by using the additional arguments
Diffstat (limited to 'Frameworks/SPMySQLFramework')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m
index c0a9572d..4f1f1b7b 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Max Packet Size.m
@@ -166,7 +166,7 @@
if ([delegate respondsToSelector:@selector(showErrorWithTitle:message:)]) {
[delegate showErrorWithTitle:NSLocalizedString(@"Error", @"error") message:errorMessage];
} else {
- NSRunAlertPanel(NSLocalizedString(@"Error", @"error"), errorMessage, @"OK", nil, nil);
+ NSRunAlertPanel(NSLocalizedString(@"Error", @"error"), @"%@", @"OK", nil, nil, errorMessage);
}
return NO;