Mercurial > dwindows
changeset 2156:1337859c1a20
Mac: Fix some version checks that only used the minor version.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 22 Sep 2020 04:19:01 +0000 |
parents | d953786b2e85 |
children | 3ba5cbea84ec |
files | mac/dw.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Fri Sep 18 08:13:31 2020 +0000 +++ b/mac/dw.m Tue Sep 22 04:19:01 2020 +0000 @@ -4168,7 +4168,7 @@ /* Figure out path information... * These functions are only support in Snow Leopard and later... */ - if(defpath && *defpath && DWOSMinor > 5) + if(defpath && *defpath && (DWOSMinor > 5 || DWOSMajor > 10)) { struct stat buf; @@ -4641,7 +4641,7 @@ if([object isMemberOfClass:[ DWComboBox class]]) extraheight = 4; /* Yosemite and higher requires even more border space */ - if(DWOSMinor > 9) + if(DWOSMinor > 9 || DWOSMajor > 10) extraheight += 4; } else