Skip to content

Commit be54922

Browse files
committed
Preferences: fixed Font Preferences crash (issue #480).
1 parent a445819 commit be54922

File tree

2 files changed

+175
-199
lines changed

2 files changed

+175
-199
lines changed

Applications/Preferences/Modules/Font/Font.h

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,22 @@
3131
@interface Font : NSObject <PrefsModule>
3232
{
3333
IBOutlet NSPopUpButton *fontCategoryPopUp;
34-
IBOutlet NSButton *fontSetButton;
35-
IBOutlet NSTextField *fontNameTextField;
36-
IBOutlet NSScrollView *fontExampleScrollView;
37-
IBOutlet NSTextView *fontExampleTextView;
38-
IBOutlet NSButton *enableAntiAliasingButton;
39-
IBOutlet NSButton *enableSubpixelButton;
40-
IBOutlet NSButton *subpixelModeButton;
41-
42-
IBOutlet NSWindow *window;
43-
IBOutlet id view;
44-
45-
NSDictionary *fontCategories;
46-
47-
NSImage *image;
48-
NSString *exampleString;
34+
IBOutlet NSButton *fontSetButton;
35+
IBOutlet NSTextField *fontNameTextField;
36+
IBOutlet NSScrollView *fontExampleScrollView;
37+
IBOutlet NSTextView *fontExampleTextView;
38+
IBOutlet NSButton *enableAntiAliasingButton;
39+
IBOutlet NSButton *enableSubpixelButton;
40+
IBOutlet NSButton *subpixelModeButton;
41+
42+
IBOutlet NSWindow *window;
43+
IBOutlet id view;
44+
45+
NSDictionary *defaultValues;
46+
NSDictionary *fontCategories;
47+
48+
NSImage *image;
49+
NSString *exampleString;
4950
}
5051

5152
- (IBAction)fontCategoryChanged:(id)sender;

0 commit comments

Comments
 (0)