Commit 6552e83a authored by Warren Baird's avatar Warren Baird Committed by Alexandre Julliard

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

MFDRV_CreateBrushIndirect.
parent 95ffdc1d
...@@ -68,7 +68,7 @@ INT16 MFDRV_CreateBrushIndirect(PHYSDEV dev, HBRUSH hBrush ) ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment