Using strncmp() to compare pixel data buffer leads to incorrect tests. Also, we should clear the pixel data buffer before editing and comparing them.
Signed-off-by: Ziqing Hui zhui@codeweavers.com ---
v2: This is a new patch in patch set. This patch fixes the test failure in previous patch.
dlls/windowscodecs/tests/ddsformat.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-)
We want the tests to pass after every patch in the series. You can probably combine this with patch 1.