diff --git a/TextEd/Document.m b/TextEd/Document.m index 9f88652..c5be050 100644 --- a/TextEd/Document.m +++ b/TextEd/Document.m @@ -31,7 +31,7 @@ - (void)windowControllerDidLoadNib:(NSWindowController *)aController { [super windowControllerDidLoadNib:aController]; - [self.textView setFont:[NSFont userFixedPitchFontOfSize:16]]; + [self.textView setFont:[NSFont userFixedPitchFontOfSize:[[NSUserDefaults standardUserDefaults] integerForKey:@"fontSize"]]]; // Add any code here that needs to be executed once the windowController has loaded the document's window. }