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

This commit is contained in:
John Edmonds 2011-06-26 13:52:27 -04:00 committed by Alexandre Julliard
parent bc59705aca
commit ed1788bad0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}