summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-06 22:21:42 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-06 22:21:42 (GMT)
commit1b06788802be4e5df0af59e7b8a3818c8702c84b (patch)
tree352814051d8c16d98749d6ed2c02714314158324
parent3c29497582459e3551edc32afd714b59494f26ae (diff)
downloadtk-bug_453518fff.zip
tk-bug_453518fff.tar.gz
tk-bug_453518fff.tar.bz2
Fixed bug [453518] - Windows 16-bit color green mask is wrongbug_453518fff
-rw-r--r--win/tkWinX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index cbd6032..bdc7456 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -561,7 +561,7 @@ TkWinDisplayChanged(
screen->root_visual->class = TrueColor;
screen->root_visual->map_entries = 64;
screen->root_visual->red_mask = 0xf8;
- screen->root_visual->green_mask = 0xfc00;
+ screen->root_visual->green_mask = 0xf800;
screen->root_visual->blue_mask = 0xf80000;
} else if (screen->root_depth >= 24) {
screen->root_visual->class = TrueColor;