Evan Stade : gdiplus: Fixed bug in GdipGetPathPoints().
Module: wine Branch: master Commit: 1fc841f6555d9700499dcc59adf0e6b1d6bc5795 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1fc841f6555d9700499dcc59ad... Author: Evan Stade <estade(a)gmail.com> Date: Mon Jul 9 20:54:43 2007 -0700 gdiplus: Fixed bug in GdipGetPathPoints(). --- dlls/gdiplus/graphicspath.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 4f7d1ef..7c0e826 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -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; }
participants (1)
-
Alexandre Julliard