summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXColor.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2021-11-01 01:31:10 (GMT)
committermarc_culler <marc.culler@gmail.com>2021-11-01 01:31:10 (GMT)
commitf5d2fbb546b28bcf15d7850e48f908f458641111 (patch)
tree693d83f599edaa3ecf0a193f40879483e474df5c /macosx/tkMacOSXColor.c
parent667103246a8da98919364cf6ad50c5ad13e662c0 (diff)
downloadtk-f5d2fbb546b28bcf15d7850e48f908f458641111.zip
tk-f5d2fbb546b28bcf15d7850e48f908f458641111.tar.gz
tk-f5d2fbb546b28bcf15d7850e48f908f458641111.tar.bz2
Remove references to 10.16.
Diffstat (limited to 'macosx/tkMacOSXColor.c')
-rw-r--r--macosx/tkMacOSXColor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c
index f82305e..edcd5d3 100644
--- a/macosx/tkMacOSXColor.c
+++ b/macosx/tkMacOSXColor.c
@@ -326,7 +326,7 @@ GetRGBA(
#endif
} else if (entry->index == selectedTabTextIndex) {
int OSVersion = [NSApp macOSVersion];
- if (OSVersion > 100600 && OSVersion < 101600) {
+ if (OSVersion > 100600 && OSVersion < 110000) {
color = [[NSColor whiteColor] colorUsingColorSpace:sRGB];
} else {
color = [[NSColor textColor] colorUsingColorSpace:sRGB];