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>
This commit is contained in:
Alex Henrie 2015-10-29 21:30:21 -06:00 committed by Alexandre Julliard
parent b4eb8e846b
commit fb90e1b673
1 changed files with 1 additions and 1 deletions

View File

@ -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;