diff options
author | culler <culler> | 2021-10-27 13:04:57 (GMT) |
---|---|---|
committer | culler <culler> | 2021-10-27 13:04:57 (GMT) |
commit | 5034402d070a781baf9e16fec880f075096dcbbe (patch) | |
tree | d901c0fae69e6f58691cbca3e3da75556e00409a /macosx/tkMacOSXDialog.c | |
parent | cb82f7301f4e551ffee1a2cb3fb881dfa66b197c (diff) | |
parent | ede363592c3c712976122d329e548eb1dddf6976 (diff) | |
download | tk-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.c | 2 |
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]; |