ddraw/tests: Compare the correct surface pointers.

Michael Stefaniuc mstefani at redhat.de
Sun Apr 15 14:53:13 CDT 2012


---
 dlls/ddraw/tests/dsurface.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c
index 93efba8..bb6a06f 100644
--- a/dlls/ddraw/tests/dsurface.c
+++ b/dlls/ddraw/tests/dsurface.c
@@ -269,7 +269,9 @@ static void SrcColorKey32BlitTest(void)
     ddsd3.ddpfPixelFormat.dwSize = sizeof(ddsd3.ddpfPixelFormat);
     rc = IDirectDrawSurface_GetSurfaceDesc(lpDst, &ddsd3);
     ok(rc == DD_OK, "IDirectDrawSurface_GetSurfaceDesc between a lock/unlock pair returned %08x\n", rc);
-    ok(ddsd3.lpSurface == ddsd3.lpSurface, "lpSurface from GetSurfaceDesc(%p) differs from the one returned by Lock(%p)\n", ddsd3.lpSurface, ddsd2.lpSurface);
+    ok(ddsd3.lpSurface == ddsd2.lpSurface,
+            "lpSurface from GetSurfaceDesc(%p) differs from the one returned by Lock(%p)\n",
+            ddsd3.lpSurface, ddsd2.lpSurface);
 
     rc = IDirectDrawSurface_Unlock(lpDst, NULL);
     ok(rc==DD_OK,"Unlock returned: %x\n",rc);
-- 
1.7.6.5



More information about the wine-patches mailing list