summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinX.c')
-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;