mirror of
https://github.com/reactos/wine.git
synced 2025-01-18 17:54:42 +00:00
Fix wrong structure used to determine the size of a memcpy in
MFDRV_CreateBrushIndirect.
This commit is contained in:
parent
95ffdc1db4
commit
6552e83a2d
@ -68,7 +68,7 @@ INT16 MFDRV_CreateBrushIndirect(PHYSDEV dev, HBRUSH hBrush )
|
||||
mr = HeapAlloc( GetProcessHeap(), 0, size );
|
||||
mr->rdSize = size / 2;
|
||||
mr->rdFunction = META_CREATEBRUSHINDIRECT;
|
||||
memcpy( mr->rdParm, &lb16, sizeof(LOGBRUSH));
|
||||
memcpy( mr->rdParm, &lb16, sizeof(LOGBRUSH16));
|
||||
break;
|
||||
}
|
||||
case BS_PATTERN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user