windowscodecs/tests: Fix a variable name typo in decode_bc1().

Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Ziqing Hui 2020-08-19 10:02:05 +08:00 committed by Alexandre Julliard
parent 7c229f647b
commit 5e000b1830
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ static void decode_bc1(const BYTE *blocks, UINT block_count, UINT width, UINT he
((GET_RGB565_B(color[0]) + GET_RGB565_B(color[1]) * 2 + 1) / 3)); ((GET_RGB565_B(color[0]) + GET_RGB565_B(color[1]) * 2 + 1) / 3));
} }
color_indices = blocks + 4; color_indices = block + 4;
for (j = 0; j < 16; j++, pixel_index++) for (j = 0; j < 16; j++, pixel_index++)
{ {
if ((pixel_index % stride >= width) || if ((pixel_index % stride >= width) ||