ddraw/tests: Spelling fixes in comments and an ok() message.

Francois Gouget fgouget at free.fr
Sun Mar 12 14:46:13 CDT 2017


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 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 b7d3b05786b..3780b465743 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 da01bd2ef6d..4f53ee10594 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 0c2c00f2af7..be950d80342 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 dfdf4ce1932..e6248f02b22 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 2068741339a..65ff2cce42a 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",
-- 
2.11.0




More information about the wine-patches mailing list