summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.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/tkMacOSXDialog.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/tkMacOSXDialog.c')
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 76bb742..ceaa2ac 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -725,7 +725,7 @@ Tk_GetOpenFileObjCmd(
* panel. Prepend the title to the message in this case.
*/
- if ([NSApp macMinorVersion] > 10) {
+ if ([NSApp macOSVersion] > 101000) {
if (message) {
NSString *fullmessage =
[[NSString alloc] initWithFormat:@"%@\n%@", title, message];