Correct the spelling of the "unified" tab bar style.

This commit is contained in:
Josh Petrie
2016-07-16 09:22:41 -07:00
parent 3e1de2e0b2
commit 2ce308427a
+4 -4
View File
@@ -81,10 +81,10 @@
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
# define TABBAR_STYLE_UNIFINED @"Yosemite"
# define TABBAR_STYLE_UNIFIED @"Yosemite"
# define TABBAR_STYLE_METAL @"Yosemite"
#else
# define TABBAR_STYLE_UNIFINED @"Unified"
# define TABBAR_STYLE_UNIFIED @"Unified"
# define TABBAR_STYLE_METAL @"Metal"
#endif
@@ -1181,7 +1181,7 @@
[[window animator] setAlphaValue:0];
} completionHandler:^{
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
[self updateTablineSeparator];
// Stay dark for some time to wait for things to sync, then do the full screen operation
@@ -1317,7 +1317,7 @@
fullScreenEnabled = YES;
[window setAlphaValue:1];
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
[self updateTablineSeparator];
[self maximizeWindow:fullScreenOptions];
}