ddraw/tests: Fix a typo in ok() messages.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2016-05-24 00:47:19 +03:00 committed by Alexandre Julliard
parent 8bf36bda9a
commit b27389ae08
4 changed files with 4 additions and 4 deletions

View File

@ -2186,7 +2186,7 @@ static void test_redundant_mode_set(void)
surface_desc.dwSize = sizeof(surface_desc);
hr = IDirectDraw_GetDisplayMode(ddraw, &surface_desc);
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
hr = IDirectDraw_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
U1(surface_desc.ddpfPixelFormat).dwRGBBitCount);

View File

@ -2337,7 +2337,7 @@ static void test_redundant_mode_set(void)
surface_desc.dwSize = sizeof(surface_desc);
hr = IDirectDraw2_GetDisplayMode(ddraw, &surface_desc);
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
hr = IDirectDraw2_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
U1(surface_desc.ddpfPixelFormat).dwRGBBitCount, 0, 0);

View File

@ -2522,7 +2522,7 @@ static void test_redundant_mode_set(void)
surface_desc.dwSize = sizeof(surface_desc);
hr = IDirectDraw4_GetDisplayMode(ddraw, &surface_desc);
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
hr = IDirectDraw4_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
U1(U4(surface_desc).ddpfPixelFormat).dwRGBBitCount, 0, 0);

View File

@ -2252,7 +2252,7 @@ static void test_redundant_mode_set(void)
surface_desc.dwSize = sizeof(surface_desc);
hr = IDirectDraw7_GetDisplayMode(ddraw, &surface_desc);
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
hr = IDirectDraw7_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
U1(U4(surface_desc).ddpfPixelFormat).dwRGBBitCount, 0, 0);