Module: wine Branch: master Commit: fb90e1b673e3a8056c7e259c1d02f05c9e5b386f URL: http://source.winehq.org/git/wine.git/?a=commit;h=fb90e1b673e3a8056c7e259c1d...
Author: Alex Henrie alexhenrie24@gmail.com Date: Thu Oct 29 21:30:21 2015 -0600
winex11: Initialize the length of each side of the color cube to 1.
Signed-off-by: Alex Henrie alexhenrie24@gmail.com Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/winex11.drv/palette.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/palette.c b/dlls/winex11.drv/palette.c index 460615c..953c9ea 100644 --- a/dlls/winex11.drv/palette.c +++ b/dlls/winex11.drv/palette.c @@ -587,7 +587,7 @@ static void X11DRV_PALETTE_FillDefaultColors( const PALETTEENTRY *sys_pal_templa * cube - based on Greg Kreider's code. */
- int i = 0, idx = 0; + int i = 1, idx = 0; int red, no_r, inc_r; int green, no_g, inc_g; int blue, no_b, inc_b;