Fix wrong structure used to determine the size of a memcpy in

MFDRV_CreateBrushIndirect.
This commit is contained in:
Warren Baird 2003-02-11 22:13:11 +00:00 committed by Alexandre Julliard
parent 95ffdc1db4
commit 6552e83a2d
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ INT16 MFDRV_CreateBrushIndirect(PHYSDEV dev, HBRUSH hBrush )
mr = HeapAlloc( GetProcessHeap(), 0, size ); mr = HeapAlloc( GetProcessHeap(), 0, size );
mr->rdSize = size / 2; mr->rdSize = size / 2;
mr->rdFunction = META_CREATEBRUSHINDIRECT; mr->rdFunction = META_CREATEBRUSHINDIRECT;
memcpy( mr->rdParm, &lb16, sizeof(LOGBRUSH)); memcpy( mr->rdParm, &lb16, sizeof(LOGBRUSH16));
break; break;
} }
case BS_PATTERN: case BS_PATTERN: