adium 2851:b7529bc734c5: Fix a logic error preventing the displa...
commits at adium.im
commits at adium.im
Sun Nov 1 23:35:34 UTC 2009
details: http://hg.adium.im/adium/rev/b7529bc734c5
revision: 2851:b7529bc734c5
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 a79db9a3f818 -r b7529bc734c5 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