From 10e5d3aa12e704a8c4583f3c8ca236bb0e23d236 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 12 Nov 2008 10:15:22 +0100 Subject: [PATCH] ddraw/tests: Fix a typo. --- dlls/ddraw/tests/dsurface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c index ccd75e0263a..25fe30ae3fa 100644 --- a/dlls/ddraw/tests/dsurface.c +++ b/dlls/ddraw/tests/dsurface.c @@ -2249,7 +2249,7 @@ static void PrivateDataTest(void) } hr = IDirectDrawSurface_QueryInterface(surface, &IID_IDirectDrawSurface7, (void **) &surface7); ok(hr == DD_OK, "IDirectDrawSurface_QueryInterface failed with %08x\n", hr); - if(!surface) + if(!surface7) { IDirectDrawSurface_Release(surface); return; -- 2.11.4.GIT