Skip to content

Commit 6a8af04

Browse files
authored
Merge pull request #306 from macvim-dev/fix-tabbar-style-spelling
Correct the spelling of the "unified" tab bar style.
2 parents 3e1de2e + 2ce3084 commit 6a8af04

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/MacVim/MMWindowController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181

8282

8383
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
84-
# define TABBAR_STYLE_UNIFINED @"Yosemite"
84+
# define TABBAR_STYLE_UNIFIED @"Yosemite"
8585
# define TABBAR_STYLE_METAL @"Yosemite"
8686
#else
87-
# define TABBAR_STYLE_UNIFINED @"Unified"
87+
# define TABBAR_STYLE_UNIFIED @"Unified"
8888
# define TABBAR_STYLE_METAL @"Metal"
8989
#endif
9090

@@ -1181,7 +1181,7 @@ - (void)window:(NSWindow *)window
11811181
[[window animator] setAlphaValue:0];
11821182
} completionHandler:^{
11831183
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
1184-
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
1184+
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
11851185
[self updateTablineSeparator];
11861186

11871187
// Stay dark for some time to wait for things to sync, then do the full screen operation
@@ -1317,7 +1317,7 @@ - (void)windowDidFailToExitFullScreen:(NSWindow *)window
13171317
fullScreenEnabled = YES;
13181318
[window setAlphaValue:1];
13191319
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
1320-
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
1320+
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
13211321
[self updateTablineSeparator];
13221322
[self maximizeWindow:fullScreenOptions];
13231323
}

0 commit comments

Comments
 (0)