adium-1.4 2727:56af5196d175: Fix a logic error preventing the di...

commits at adium.im commits at adium.im
Sun Nov 1 23:32:07 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/56af5196d175
revision:	2727:56af5196d175
author:		Stephen Holt <sholt at adium.im>
date:		Sun Nov 01 18:31:30 2009 -0500

Fix a logic error preventing the display of the chat transcript and channel member counts.  Fixes #13292

diffs (14 lines):

diff -r 46addf808752 -r 56af5196d175 Source/KNShelfSplitView.m
--- a/Source/KNShelfSplitView.m	Sun Nov 01 15:27:16 2009 -0500
+++ b/Source/KNShelfSplitView.m	Sun Nov 01 18:31:30 2009 -0500
@@ -710,8 +710,8 @@
 #pragma mark Status string
 - (void)setResizeThumbStringValue:(NSString *)inString
 {
-	if (attributedStringValue && ![inString isEqualToString:[attributedStringValue string]]) {		
-		[attributedStringValue release];
+	if (!(attributedStringValue && [inString isEqualToString:[attributedStringValue string]])) {		
+		if(attributedStringValue) [attributedStringValue release];
 		if (inString) {
 			NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys:
 				[NSParagraphStyle styleWithAlignment:NSLeftTextAlignment




More information about the commits mailing list