Commit 476ec8b2 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

windowscodecs/tests: Fix a typo in a variable name.

parent 47af2ac3
...@@ -3056,7 +3056,7 @@ static void test_metadata_writer(void) ...@@ -3056,7 +3056,7 @@ static void test_metadata_writer(void)
REFCLSID rclsid; REFCLSID rclsid;
BOOL wine_supports_encoder; BOOL wine_supports_encoder;
BOOL metadata_supported; BOOL metadata_supported;
BOOL succeeds_unitialized; BOOL succeeds_uninitialized;
} }
tests[] = tests[] =
{ {
...@@ -3106,7 +3106,7 @@ static void test_metadata_writer(void) ...@@ -3106,7 +3106,7 @@ static void test_metadata_writer(void)
ok(hr == (tests[i].metadata_supported ? S_OK : E_INVALIDARG), "Got unexpected hr %#x, i %u.\n", hr, i); ok(hr == (tests[i].metadata_supported ? S_OK : E_INVALIDARG), "Got unexpected hr %#x, i %u.\n", hr, i);
hr = IWICBitmapFrameEncode_GetMetadataQueryWriter(frameencode, &querywriter2); hr = IWICBitmapFrameEncode_GetMetadataQueryWriter(frameencode, &querywriter2);
ok(hr == (tests[i].succeeds_unitialized ? S_OK : WINCODEC_ERR_NOTINITIALIZED), ok(hr == (tests[i].succeeds_uninitialized ? S_OK : WINCODEC_ERR_NOTINITIALIZED),
"Got unexpected hr %#x, i %u.\n", hr, i); "Got unexpected hr %#x, i %u.\n", hr, i);
if (hr == S_OK) if (hr == S_OK)
IWICMetadataQueryWriter_Release(querywriter2); IWICMetadataQueryWriter_Release(querywriter2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment