Ziqing Hui : windowscodecs/tests: Fix a variable name typo in decode_bc1().
Module: wine Branch: master Commit: 5e000b1830d4b7392e2667def06afafd5f3c141a URL: https://source.winehq.org/git/wine.git/?a=commit;h=5e000b1830d4b7392e2667def... Author: Ziqing Hui <zhui(a)codeweavers.com> Date: Wed Aug 19 10:02:05 2020 +0800 windowscodecs/tests: Fix a variable name typo in decode_bc1(). Signed-off-by: Ziqing Hui <zhui(a)codeweavers.com> Signed-off-by: Esme Povirk <esme(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 989f4317c0..a4022fc2c4 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) ||
participants (1)
-
Alexandre Julliard