summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2021-10-27 13:03:12 (GMT)
committerculler <culler>2021-10-27 13:03:12 (GMT)
commitede363592c3c712976122d329e548eb1dddf6976 (patch)
treef2986b4187d086797a60dbcf0ee90a9d8f0d9892
parent16104b531487870a3fdc8fe6888ad1daf34f348b (diff)
parentb9c92a3022d50d2eafe0240ef5356338c4cf727f (diff)
downloadtk-ede363592c3c712976122d329e548eb1dddf6976.zip
tk-ede363592c3c712976122d329e548eb1dddf6976.tar.gz
tk-ede363592c3c712976122d329e548eb1dddf6976.tar.bz2
Fix inequality error that breaks file dialogs on macOS 10.14.
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 2ad88e9..08998bc 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];