windowscodecs/tests: Fix test condition which is always true.

Sebastian Lackner sebastian at fds-team.de
Wed Jun 24 20:17:47 CDT 2015


---
 dlls/windowscodecs/tests/info.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/windowscodecs/tests/info.c b/dlls/windowscodecs/tests/info.c
index 8a22970..64ccab5 100644
--- a/dlls/windowscodecs/tests/info.c
+++ b/dlls/windowscodecs/tests/info.c
@@ -223,7 +223,7 @@ static void test_pixelformat_info(void)
     memset(value, 0xaa, 256 * sizeof(WCHAR));
     hr = IWICComponentInfo_GetAuthor(info, len-1, value, NULL);
     ok(hr == E_INVALIDARG, "GetAuthor failed, hr=%x\n", hr);
-    ok(value[0] = 0xaaaa, "string modified\n");
+    ok(value[0] == 0xaaaa, "string modified\n");
 
     len = 0xdeadbeef;
     memset(value, 0xaa, 256 * sizeof(WCHAR));
-- 
2.4.3



More information about the wine-patches mailing list