adium 3900:09afa7a64d97: Fix a crash that occurs when opening ir...
commits at adium.im
commits at adium.im
Mon May 16 22:03:31 UTC 2011
details: http://hg.adium.im/adium/rev/09afa7a64d97
revision: 3900:09afa7a64d97
branch: (none)
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Tue May 17 00:00:31 2011 +0200
Fix a crash that occurs when opening irc://-links to new servers on ports other than 6667.
Fixes #15093
diffs (12 lines):
diff -r b737e71520e4 -r 09afa7a64d97 Source/AITemporaryIRCAccountWindowController.m
--- a/Source/AITemporaryIRCAccountWindowController.m Wed May 04 10:23:27 2011 +0200
+++ b/Source/AITemporaryIRCAccountWindowController.m Tue May 17 00:00:31 2011 +0200
@@ -75,7 +75,7 @@
[textField_explanation setStringValue:[NSString stringWithFormat:AILocalizedString(@"You need to create a new IRC account to connect to irc://%@%@/%@:", nil),
server,
- (port == 6667 ? @"" : [NSString stringWithFormat:@":%@", port]),
+ (port == 6667 ? @"" : [NSString stringWithFormat:@":%d", port]),
channel]];
[textField_server setStringValue:server];
More information about the commits
mailing list