ddraw: Fix incorrect WARN text.

This commit is contained in:
Alexander Dorofeyev 2007-12-16 19:55:58 -08:00 committed by Alexandre Julliard
parent 87b33ccb58
commit f4337b4714

View File

@ -787,7 +787,7 @@ IDirectDrawSurfaceImpl_Blt(IDirectDrawSurface7 *iface,
DestRect->right > This->surface_desc.dwWidth || DestRect->right > This->surface_desc.dwWidth ||
DestRect->bottom > This->surface_desc.dwHeight) DestRect->bottom > This->surface_desc.dwHeight)
{ {
WARN("Source rectangle is invalid, returning DDERR_INVALIDRECT\n"); WARN("Destination rectangle is invalid, returning DDERR_INVALIDRECT\n");
LeaveCriticalSection(&ddraw_cs); LeaveCriticalSection(&ddraw_cs);
return DDERR_INVALIDRECT; return DDERR_INVALIDRECT;
} }