summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2021-10-31 14:59:08 (GMT)
committermarc_culler <marc.culler@gmail.com>2021-10-31 14:59:08 (GMT)
commit19ae628fd1d0a5aa7a2c32e0268c3110ea144222 (patch)
tree67b1365719d43ee98535935e46efebb049e623bc
parentae9ec0f179b4d64a2fc92134c8d909c628e5a86d (diff)
downloadtk-19ae628fd1d0a5aa7a2c32e0268c3110ea144222.zip
tk-19ae628fd1d0a5aa7a2c32e0268c3110ea144222.tar.gz
tk-19ae628fd1d0a5aa7a2c32e0268c3110ea144222.tar.bz2
Try to deal with the non-existent macOS 10.16.
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index b6f4503..eba8098 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -365,7 +365,7 @@ static NSInteger showOpenSavePanel(
contextInfo:callbackInfo ];
}];
modalReturnCode = [NSApp runModalForWindow:panel];
- } else if (OSVersion < 110000) {
+ } else if (OSVersion < 101600) {
[panel beginSheetModalForWindow:parent
completionHandler:^(NSModalResponse returnCode) {
[NSApp tkFilePanelDidEnd:panel