]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix macOS version check (bug#26664)
authorAlan Third <alan@idiocy.org>
Wed, 26 Apr 2017 19:01:39 +0000 (20:01 +0100)
committerAlan Third <alan@idiocy.org>
Wed, 26 Apr 2017 19:04:42 +0000 (20:04 +0100)
* src/nsterm.m (initFrameFromEmacs): Prevent window tabbing mode on
macOS versions 10.12+.

src/nsterm.m

index 9c60740e6614c544b0f2953d1595f97be968492e..f75a9fe2be84f59fb3ebb0f796d81af183037719 100644 (file)
@@ -7029,7 +7029,7 @@ not_in_argv (NSString *arg)
      allow this to be enabled until it's available on a Free system.
      Currently it only happens by accident and is buggy anyway. */
 #if defined (NS_IMPL_COCOA) && \
-  MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12
+  MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_12
   [win setTabbingMode: NSWindowTabbingModeDisallowed];
 #endif