diff options
author | rowanbeentje <rowan@beent.je> | 2010-01-20 23:51:15 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-01-20 23:51:15 +0000 |
commit | a485d370c24cb6378a52c3452dc0cdbadfefd50f (patch) | |
tree | f3bb2ded2b5571d860d7677cca509d575ec5ef81 /Source/SPKeychain.m | |
parent | 38ed0a7356c24b2113e157fbec26004100b5f1e9 (diff) | |
download | sequelpro-a485d370c24cb6378a52c3452dc0cdbadfefd50f.tar.gz sequelpro-a485d370c24cb6378a52c3452dc0cdbadfefd50f.tar.bz2 sequelpro-a485d370c24cb6378a52c3452dc0cdbadfefd50f.zip |
Address Issue #546 (format string bugs):
- Fix incorrect uses of [NSString stringWithFormat:] with preconstructed strings and no arguments in SPUserManager
- To fix display issues, replace NSBeginAlertSheet (which includes automatic sprintf expansion of the message) with a safely-escaped SPBeginAlertSheet in many files
Diffstat (limited to 'Source/SPKeychain.m')
-rw-r--r-- | Source/SPKeychain.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPKeychain.m b/Source/SPKeychain.m index eecca884..622c3a86 100644 --- a/Source/SPKeychain.m +++ b/Source/SPKeychain.m @@ -104,7 +104,7 @@ NSBeginAlertSheet(NSLocalizedString(@"Error adding password to Keychain", @"error adding password to keychain message"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [NSApp mainWindow], self, nil, nil, nil, - [NSString stringWithFormat:NSLocalizedString(@"An error occured while trying to add the password to your Keychain. Repairing your Keychain might resolve this, but if it doesn't please report it to the Sequel Pro team, supplying the error code %i.", @"error adding password to keychain informative message"), status]); + NSLocalizedString(@"An error occured while trying to add the password to your Keychain. Repairing your Keychain might resolve this, but if it doesn't please report it to the Sequel Pro team, supplying the error code %i.", @"error adding password to keychain informative message"), status); } } } |