Module: wine Branch: master Commit: d489a6db6503c7514236184a503ffba8022f86b1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d489a6db6503c7514236184a50...
Author: Francois Gouget fgouget@free.fr Date: Sun Mar 12 20:46:13 2017 +0100
ddraw/tests: Spelling fixes in comments and an ok() message.
Signed-off-by: Francois Gouget fgouget@free.fr Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ddraw/tests/d3d.c | 2 +- dlls/ddraw/tests/ddraw1.c | 2 +- dlls/ddraw/tests/ddraw2.c | 2 +- dlls/ddraw/tests/ddraw4.c | 2 +- dlls/ddraw/tests/ddraw7.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c index b7d3b05..3780b46 100644 --- a/dlls/ddraw/tests/d3d.c +++ b/dlls/ddraw/tests/d3d.c @@ -1126,7 +1126,7 @@ static void Direct3D1Test(void) /* Interface consistency check. */ hr = IDirect3DDevice_GetDirect3D(Direct3DDevice1, &Direct3D_alt); ok(hr == D3D_OK, "IDirect3DDevice_GetDirect3D failed: %08x\n", hr); - ok(Direct3D_alt == Direct3D1, "Direct3D1 struct pointer missmatch: %p != %p\n", Direct3D_alt, Direct3D1); + ok(Direct3D_alt == Direct3D1, "Direct3D1 struct pointer mismatch: %p != %p\n", Direct3D_alt, Direct3D1); IDirect3D_Release(Direct3D_alt);
memset(&desc, 0, sizeof(desc)); diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index da01bd2..4f53ee1 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -10487,7 +10487,7 @@ static void test_ck_operation(void) hr = IDirectDrawSurface_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL); ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr); color = surface_desc.lpSurface; - /* Ensure the desination was not changed. */ + /* Ensure the destination was not changed. */ ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 && color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555, "Got unexpected content %08x %08x %08x %08x %08x %08x.\n", diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index 0c2c00f..be950d8 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -11825,7 +11825,7 @@ static void test_ck_operation(void) hr = IDirectDrawSurface2_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL); ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr); color = surface_desc.lpSurface; - /* Ensure the desination was not changed. */ + /* Ensure the destination was not changed. */ ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 && color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555, "Got unexpected content %08x %08x %08x %08x %08x %08x.\n", diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index dfdf4ce..e6248f0 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -13204,7 +13204,7 @@ static void test_ck_operation(void) hr = IDirectDrawSurface4_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL); ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr); color = surface_desc.lpSurface; - /* Ensure the desination was not changed. */ + /* Ensure the destination was not changed. */ ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 && color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555, "Got unexpected content %08x %08x %08x %08x %08x %08x.\n", diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index 2068741..65ff2cc 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -12877,7 +12877,7 @@ static void test_ck_operation(void) hr = IDirectDrawSurface7_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL); ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr); color = surface_desc.lpSurface; - /* Ensure the desination was not changed. */ + /* Ensure the destination was not changed. */ ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 && color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555, "Got unexpected content %08x %08x %08x %08x %08x %08x.\n",