Commit 10e5d3aa authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ddraw/tests: Fix a typo.

parent 1d9fa06a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment