diff --git a/Framework/PCProjectLauncher.m b/Framework/PCProjectLauncher.m index 3bc377f..467e8b4 100644 --- a/Framework/PCProjectLauncher.m +++ b/Framework/PCProjectLauncher.m @@ -149,19 +149,20 @@ enum { if ((self = [super init])) { - id prefs = [[project projectManager] prefController]; + id prefs; NSFont *font; NSString *fontName; CGFloat fontSize; + project = aProject; + + prefs = [[project projectManager] prefController]; fontName = [prefs stringForKey:ConsoleFixedFont]; fontSize = [prefs floatForKey:ConsoleFixedFontSize]; font = [NSFont fontWithName:fontName size:fontSize]; if (font == nil) font = [NSFont userFixedPitchFontOfSize:0]; - project = aProject; - textAttributes = [NSDictionary dictionaryWithObject:font forKey:NSFontAttributeName]; [textAttributes retain];