dwrite/tests: Use a better invalid value to make a test pass reliably.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2022-01-21 15:57:17 +03:00 committed by Alexandre Julliard
parent cb0b746f9a
commit 47f5a50260
1 changed files with 2 additions and 2 deletions

View File

@ -4150,8 +4150,8 @@ static void test_GetInformationalStrings(void)
ok(hr == S_OK, "got 0x%08x\n", hr);
exists = TRUE;
strings = (void*)0xdeadbeef;
hr = IDWriteFont_GetInformationalStrings(font, DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME+1, &strings, &exists);
strings = (void *)0xdeadbeef;
hr = IDWriteFont_GetInformationalStrings(font, 0xdead, &strings, &exists);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(exists == FALSE, "got %d\n", exists);
ok(strings == NULL, "got %p\n", strings);