From 5e000b1830d4b7392e2667def06afafd5f3c141a Mon Sep 17 00:00:00 2001 From: Ziqing Hui Date: Wed, 19 Aug 2020 10:02:05 +0800 Subject: [PATCH] windowscodecs/tests: Fix a variable name typo in decode_bc1(). Signed-off-by: Ziqing Hui Signed-off-by: Esme Povirk Signed-off-by: Alexandre Julliard --- dlls/windowscodecs/tests/ddsformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/windowscodecs/tests/ddsformat.c b/dlls/windowscodecs/tests/ddsformat.c index 989f4317c0a..a4022fc2c49 100644 --- a/dlls/windowscodecs/tests/ddsformat.c +++ b/dlls/windowscodecs/tests/ddsformat.c @@ -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)); } - color_indices = blocks + 4; + color_indices = block + 4; for (j = 0; j < 16; j++, pixel_index++) { if ((pixel_index % stride >= width) ||