d3dxof & d3dx9_36: Unknown spelling fixes.

Francois Gouget fgouget at free.fr
Fri Apr 15 07:29:10 CDT 2016


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/d3dx9_36/tests/shader.c | 2 +-
 dlls/d3dxof/tests/d3dxof.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/tests/shader.c b/dlls/d3dx9_36/tests/shader.c
index 694540c..4a7ae67 100644
--- a/dlls/d3dx9_36/tests/shader.c
+++ b/dlls/d3dx9_36/tests/shader.c
@@ -554,7 +554,7 @@ static void test_get_shader_constant_table_ex(void)
         ok(hr == D3D_OK, "Got result %x, expected 0 (D3D_OK)\n", hr);
         hr = ID3DXConstantTable_GetConstantDesc(constant_table, constant, &constant_desc, NULL);
         ok(hr == D3D_OK, "Got result %x, expected 0 (D3D_OK)\n", hr);
-        hr = ID3DXConstantTable_GetConstantDesc(constant_table, "Constant unknow", &constant_desc, &nb);
+        hr = ID3DXConstantTable_GetConstantDesc(constant_table, "Constant unknown", &constant_desc, &nb);
         ok(hr == D3DERR_INVALIDCALL, "Got result %x, expected %x (D3DERR_INVALIDCALL)\n", hr, D3DERR_INVALIDCALL);
         hr = ID3DXConstantTable_GetConstantDesc(constant_table, "Constant3", &constant_desc, &nb);
         ok(hr == D3D_OK, "Got result %x, expected 0 (D3D_OK)\n", hr);
diff --git a/dlls/d3dxof/tests/d3dxof.c b/dlls/d3dxof/tests/d3dxof.c
index 0573e4a..29a3868 100644
--- a/dlls/d3dxof/tests/d3dxof.c
+++ b/dlls/d3dxof/tests/d3dxof.c
@@ -536,7 +536,7 @@ static void test_CreateEnumObject(void)
     ok(*((WORD*)pdata) == 3, "Retrieved data is wrong (%u instead of 3)\n", *((WORD*)pdata));
 
     /* Try to get not existing member (szMember == "unknown") */
-    hr = IDirectXFileData_GetData(lpdxfd, "unknow", &size, (void**)&pdata);
+    hr = IDirectXFileData_GetData(lpdxfd, "unknown", &size, (void**)&pdata);
     ok(hr == DXFILEERR_BADDATAREFERENCE, "IDirectXFileData_GetData: %x\n", hr);
 
     ref = IDirectXFileEnumObject_Release(lpdxfeo);
-- 
2.8.0.rc3




More information about the wine-patches mailing list