diff --git a/macosx/English.lproj/MainMenu.nib/info.nib b/macosx/English.lproj/MainMenu.nib/info.nib
index a9a46ae73..7f17e9c61 100644
--- a/macosx/English.lproj/MainMenu.nib/info.nib
+++ b/macosx/English.lproj/MainMenu.nib/info.nib
@@ -31,8 +31,8 @@
3
IBOpenObjects
- 21
29
+ 21
IBSystem Version
8J135
diff --git a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib
index 0582f4b5d..d88222b8a 100644
Binary files a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib and b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib differ
diff --git a/macosx/MessageWindowController.m b/macosx/MessageWindowController.m
index a21cc03ea..18d8045cd 100644
--- a/macosx/MessageWindowController.m
+++ b/macosx/MessageWindowController.m
@@ -46,6 +46,7 @@
fAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
[NSFont fontWithName: @"Monaco" size: 10], NSFontAttributeName,
paragraph, NSParagraphStyleAttributeName, nil];
+ [paragraph release];
[[self window] update]; //make sure nib is loaded right away
}
@@ -90,7 +91,7 @@
NSScroller * scroller = [fScrollView verticalScroller];
BOOL shouldScroll = [scroller floatValue] == 1.0 || [scroller isHidden] || [scroller knobProportion] == 1.0;
- NSMutableAttributedString * messageString;
+ NSAttributedString * messageString;
NSString * levelString, * dateString;
for (currentMessage = messages; currentMessage != NULL; currentMessage = currentMessage->next)
{
@@ -111,7 +112,7 @@
dateString = [[NSDate dateWithTimeIntervalSince1970: currentMessage->when]
descriptionWithCalendarFormat: @"%1m/%d %H:%M:%S" timeZone: nil locale: nil];
- messageString = [[[NSMutableAttributedString alloc] initWithString: [NSString stringWithFormat: @"%@ %@ %s",
+ messageString = [[[NSAttributedString alloc] initWithString: [NSString stringWithFormat: @"%@ %@ %s",
dateString, levelString, currentMessage->message] attributes: fAttributes] autorelease];
[[fTextView textStorage] appendAttributedString: messageString];