Commit 1fc841f6 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Fixed bug in GdipGetPathPoints().

parent fec9e5e8
......@@ -152,7 +152,7 @@ GpStatus WINGDIPAPI GdipGetPathPoints(GpPath *path, GpPointF* points, INT count)
if(count < path->pathdata.Count)
return InsufficientBuffer;
memcpy(points, path->pathdata.Points, path->pathdata.Count);
memcpy(points, path->pathdata.Points, path->pathdata.Count * sizeof(GpPointF));
return Ok;
}
......
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