[2/4] gdiplus: fixed bug in GdipGetPathPoints()
Evan Stade
estade at gmail.com
Mon Jul 9 22:54:43 CDT 2007
Hi,
dlls/gdiplus/graphicspath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
Evan Stade
-------------- next part --------------
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 40975b2..aaca0a1 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -152,7 +152,7 @@ GpStatus WINGDIPAPI GdipGetPathPoints(Gp
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;
}
--
1.4.1
More information about the wine-patches
mailing list