summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-30 18:54:39 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-30 18:54:39 +0000
commitc9b4b05b3544b434730eb218e848a1a441d5ffb2 (patch)
treec1550ddf398d2030ed25ee98e8342fcb41ac1c87 /src/gui.c
parentaa35dd1667c5903cdcc32ebe10f27bc6683c68a1 (diff)
updated for version 7.0gv7.0g
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index fe12864c18..7d11839333 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -4456,8 +4456,8 @@ gui_get_lightness(pixel)
long_u rgb = gui_mch_get_rgb(pixel);
return (int)( (((rgb >> 16) & 0xff) * 299)
- + (((rgb >> 8) & 0xff) * 587)
- + ((rgb & 0xff) * 114)) / 1000;
+ + (((rgb >> 8) & 0xff) * 587)
+ + ((rgb & 0xff) * 114)) / 1000;
}
#if defined(FEAT_GUI_X11) || defined(PROTO)