summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
diff options
context:
space:
mode:
authorculler <culler>2021-10-27 13:04:57 (GMT)
committerculler <culler>2021-10-27 13:04:57 (GMT)
commit5034402d070a781baf9e16fec880f075096dcbbe (patch)
treed901c0fae69e6f58691cbca3e3da75556e00409a /macosx/tkMacOSXDialog.c
parentcb82f7301f4e551ffee1a2cb3fb881dfa66b197c (diff)
parentede363592c3c712976122d329e548eb1dddf6976 (diff)
downloadtk-5034402d070a781baf9e16fec880f075096dcbbe.zip
tk-5034402d070a781baf9e16fec880f075096dcbbe.tar.gz
tk-5034402d070a781baf9e16fec880f075096dcbbe.tar.bz2
Fix inequality error that breaks file dialogs on macOS 10.14.
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 1108874..04e632d 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -373,7 +373,7 @@ static NSInteger showOpenSavePanel(
* assertion error.
*/
- if ( osVersion >= 101400 && osVersion < 120000) {
+ if ( osVersion > 101400 && osVersion < 120000) {
modalReturnCode = [panel runModal];
} else {
modalReturnCode = [NSApp runModalForWindow:panel];