Commit ed1788ba authored by John Edmonds's avatar John Edmonds Committed by Alexandre Julliard

ddraw: Warning message about an invalid structure size will now print the structure's size.

parent bc59705a
......@@ -863,7 +863,7 @@ static HRESULT WINAPI ddraw_surface7_Lock(IDirectDrawSurface7 *iface,
if(DDSD->dwSize != sizeof(DDSURFACEDESC) &&
DDSD->dwSize != sizeof(DDSURFACEDESC2))
{
WARN("Invalid structure size %d, returning DDERR_INVALIDPARAMS\n", DDERR_INVALIDPARAMS);
WARN("Invalid structure size %d, returning DDERR_INVALIDPARAMS\n", DDSD->dwSize);
LeaveCriticalSection(&ddraw_cs);
return DDERR_INVALIDPARAMS;
}
......
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