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:
parent
b4eb8e846b
commit
fb90e1b673
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue