Skip to content
Snippets Groups Projects
Commit 1fc841f6 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard
Browse files

gdiplus: Fixed bug in GdipGetPathPoints().

parent fec9e5e8
No related branches found
Tags wine-950727
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment