diff options
author | Sven Weidauer <sven@5sw.de> | 2017-06-05 11:20:56 +0200 |
---|---|---|
committer | Sven Weidauer <sven@5sw.de> | 2017-06-05 11:20:56 +0200 |
commit | 2ba97ae0dbd01a4f46c543ae025249e5349e0585 (patch) | |
tree | 5028ee570078f80f98049bd5a68b209ecfdaca59 /frontends/cocoa/HistoryWindowController.m | |
parent | 3ee40a10b123c36be3e29602767840a7a71aaafa (diff) | |
download | netsurf-2ba97ae0dbd01a4f46c543ae025249e5349e0585.tar.gz netsurf-2ba97ae0dbd01a4f46c543ae025249e5349e0585.tar.bz2 |
Reformat code using clang-format.
Diffstat (limited to 'frontends/cocoa/HistoryWindowController.m')
-rw-r--r-- | frontends/cocoa/HistoryWindowController.m | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/frontends/cocoa/HistoryWindowController.m b/frontends/cocoa/HistoryWindowController.m index aff85f2d5..1a30bb573 100644 --- a/frontends/cocoa/HistoryWindowController.m +++ b/frontends/cocoa/HistoryWindowController.m @@ -28,17 +28,18 @@ - (instancetype)init { - if ((self = [super initWithWindowNibName: @"HistoryWindow"]) == nil) return nil; - - tree = [[Tree alloc] initWithFlags: TREE_HISTORY]; - - return self; + if ((self = [super initWithWindowNibName:@"HistoryWindow"]) == nil) + return nil; + + tree = [[Tree alloc] initWithFlags:TREE_HISTORY]; + + return self; } - (void)awakeFromNib { - [view setTree: tree]; - [[self window] setExcludedFromWindowsMenu: YES]; + [view setTree:tree]; + [[self window] setExcludedFromWindowsMenu:YES]; } @end |