diff --git a/src/osx/cocoa/filedlg.mm b/src/osx/cocoa/filedlg.mm index 0ab62f5bfa..d08d3a3c3e 100644 --- a/src/osx/cocoa/filedlg.mm +++ b/src/osx/cocoa/filedlg.mm @@ -70,10 +70,8 @@ bool HasAppKit_10_6() // case above. version = NSVersionOfRunTimeLibrary("AppKit"); } - if (version == -1) - { - return false; - } + + // Notice that this still works correctly even if version is -1. return version >= 0x40e2400 /* version of 10.6 AppKit */; }