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 = 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:
|
||||||
|
|
Loading…
Reference in New Issue