summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXColor.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2021-11-01 12:52:52 (GMT)
committermarc_culler <marc.culler@gmail.com>2021-11-01 12:52:52 (GMT)
commit3ac5d033fe120fc1af6e6704b1e3fdc23fe05d4f (patch)
tree53b2b175f40143fe158b18cf2fc4781d37c605cf /macosx/tkMacOSXColor.c
parent2ab2f7235c5a631bb4282a2bc30e1aefcddd3516 (diff)
parentd51759484d268766e264c7e2c9588cedda2bb8d8 (diff)
downloadtk-3ac5d033fe120fc1af6e6704b1e3fdc23fe05d4f.zip
tk-3ac5d033fe120fc1af6e6704b1e3fdc23fe05d4f.tar.gz
tk-3ac5d033fe120fc1af6e6704b1e3fdc23fe05d4f.tar.bz2
Merge 8.6
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 1e1fc4e..a59de22 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];