adium 3499:7a8e740409e0: Possible 10.5 build fix

commits at adium.im commits at adium.im
Tue Nov 9 03:45:46 UTC 2010


details:	http://hg.adium.im/adium/rev/7a8e740409e0
revision:	3499:7a8e740409e0
author:		Evan Schoenberg
date:		Mon Nov 01 22:22:12 2010 -0500

Possible 10.5 build fix
(transplanted from 6f08c2d81d1614e128158e91d37a94d5b8fdfb1d)

diffs (14 lines):

diff -r 0a9e33894575 -r 7a8e740409e0 Plugins/Purple Service/ESIRCAccount.m
--- a/Plugins/Purple Service/ESIRCAccount.m	Mon Nov 08 21:12:33 2010 -0600
+++ b/Plugins/Purple Service/ESIRCAccount.m	Mon Nov 01 22:22:12 2010 -0500
@@ -196,8 +196,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