Skip to content

Commit 2ce3084

Browse files
committed
Correct the spelling of the "unified" tab bar style.
1 parent 3e1de2e commit 2ce3084

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)