summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXTest.c
diff options
context:
space:
mode:
authorculler <culler>2020-06-25 21:12:33 (GMT)
committerculler <culler>2020-06-25 21:12:33 (GMT)
commit89f5a6802f0e3aa56d0f612913683dc432646bd0 (patch)
tree3b069fa04d7791d8c0a83a4c2b35d2719a2d4fd0 /macosx/tkMacOSXTest.c
parentdc7625ccd3a00dba6a55b37c190b2cae3b58ea4f (diff)
downloadtk-89f5a6802f0e3aa56d0f612913683dc432646bd0.zip
tk-89f5a6802f0e3aa56d0f612913683dc432646bd0.tar.gz
tk-89f5a6802f0e3aa56d0f612913683dc432646bd0.tar.bz2
Aqua: replace [NSApp macMinorVersion] by [NSApp macOSVersion] event though the Big Sur (11.1) beta release identifies itself as 10.16.
Diffstat (limited to 'macosx/tkMacOSXTest.c')
-rw-r--r--macosx/tkMacOSXTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXTest.c b/macosx/tkMacOSXTest.c
index 0a739a1..a5d1d83 100644
--- a/macosx/tkMacOSXTest.c
+++ b/macosx/tkMacOSXTest.c
@@ -119,7 +119,7 @@ DebuggerObjCmd(
*/
MODULE_SCOPE Bool
TkTestLogDisplay(void) {
- if ([NSApp macMinorVersion] >= 14) {
+ if ([NSApp macOSVersion] >= 101400) {
return [NSApp isDrawing];
} else {
return ![NSApp isDrawing];