gdiplus: Fixed bug in GdipGetPathPoints().

This commit is contained in:
Evan Stade 2007-07-09 20:54:43 -07:00 committed by Alexandre Julliard
parent fec9e5e803
commit 1fc841f655
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}