emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 4b176eb 1/2: Fix macOS run-time feature check


From: Alan Third
Subject: [Emacs-diffs] emacs-26 4b176eb 1/2: Fix macOS run-time feature check
Date: Sat, 1 Dec 2018 13:57:39 -0500 (EST)

branch: emacs-26
commit 4b176eb86361cff94a223225e8b852adb1accc50
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>

    Fix macOS run-time feature check
    
    * src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time
    feature check.
---
 src/nsterm.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 948dd1d..893bb1b 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1891,7 +1891,7 @@ x_set_parent_frame (struct frame *f, Lisp_Object 
new_value, Lisp_Object old_valu
           [[child parentWindow] removeChildWindow:child];
 #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 101000
 #if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
-          if ([child respondsToSelector:@selector(setAccessibilitySubrole:)]
+          if ([child respondsToSelector:@selector(setAccessibilitySubrole:)])
 #endif
               [child 
setAccessibilitySubrole:NSAccessibilityStandardWindowSubrole];
 #endif
@@ -1905,7 +1905,7 @@ x_set_parent_frame (struct frame *f, Lisp_Object 
new_value, Lisp_Object old_valu
                          ordered: NSWindowAbove];
 #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 101000
 #if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
-          if ([child respondsToSelector:@selector(setAccessibilitySubrole:)]
+          if ([child respondsToSelector:@selector(setAccessibilitySubrole:)])
 #endif
               [child 
setAccessibilitySubrole:NSAccessibilityFloatingWindowSubrole];
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]