[PATCH] d3dx9_36/tests: Fix copy & paste error in ok messages

Detlef Riekenberg wine.dev at web.de
Tue Sep 25 16:35:00 CDT 2012


---
 dlls/d3dx9_36/tests/texture.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/tests/texture.c b/dlls/d3dx9_36/tests/texture.c
index 06e69e2..3c2cd95 100644
--- a/dlls/d3dx9_36/tests/texture.c
+++ b/dlls/d3dx9_36/tests/texture.c
@@ -1314,9 +1314,9 @@ static void test_D3DXCreateTextureFromFileInMemory(IDirect3DDevice9 *device)
         hr = IDirect3DTexture9_GetLevelDesc(texture, 0, &desc);
         ok(hr == D3D_OK, "IDirect3DTexture9_GetLevelDesc returned %#x, expected %#x\n", hr, D3D_OK);
         ok(desc.Width == 4, "Width is %u, expected 4\n", desc.Width);
-        ok(desc.Height == 4, "Width is %u, expected 4\n", desc.Height);
+        ok(desc.Height == 4, "Height is %u, expected 4\n", desc.Height);
         hr = IDirect3DTexture9_LockRect(texture, 0, &lock_rect, NULL, D3DLOCK_READONLY);
-        ok(hr == D3D_OK, "IDirect3DTexture9_LockTexture returned %#x, expected %#x\n", hr, D3D_OK);
+        ok(hr == D3D_OK, "IDirect3DTexture9_LockRect returned %#x, expected %#x\n", hr, D3D_OK);
         if (SUCCEEDED(hr))
         {
             for (i = 0; i < 16; i++)
-- 
1.7.5.4




More information about the wine-patches mailing list