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

This commit is contained in:
Sebastian Lackner 2015-06-25 03:17:47 +02:00 committed by Alexandre Julliard
parent bf117ec5f4
commit c0f5d024ca
1 changed files with 1 additions and 1 deletions

View File

@ -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));