adium-1.4 3217:6f08c2d81d16: Possible 10.5 build fix

commits at adium.im commits at adium.im
Tue Nov 2 03:22:16 UTC 2010


details:	http://hg.adium.im/adium-1.4/rev/6f08c2d81d16
revision:	3217:6f08c2d81d16
author:		Evan Schoenberg
date:		Mon Nov 01 22:22:12 2010 -0500

Possible 10.5 build fix

diffs (14 lines):

diff -r ab8a205c5901 -r 6f08c2d81d16 Plugins/Purple Service/ESIRCAccount.m
--- a/Plugins/Purple Service/ESIRCAccount.m	Mon Nov 01 20:24:45 2010 -0500
+++ b/Plugins/Purple Service/ESIRCAccount.m	Mon Nov 01 22:22:12 2010 -0500
@@ -189,8 +189,8 @@
 		
 		/* Remove the "/say" */
 		if (hasSlashSay)
-			messageAttributedString = [messageAttributedString attributedSubstringFromRange:NSMakeRange(@"/say ".length, 
-																										messageAttributedString.length - @"/say ".length)];
+			messageAttributedString = [messageAttributedString attributedSubstringFromRange:NSMakeRange([@"/say " length], 
+																										messageAttributedString.length - [@"/say " length])];
 		
 		encodedString = [AIHTMLDecoder encodeHTML:(inContentMessage.chat.isSecure ? 
 												   messageAttributedString :




More information about the commits mailing list