From 171e832839c082b55e7e44161d82bd58aa3b056e Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Fri, 15 Jul 2011 13:21:09 -0500 Subject: [PATCH] gdiplus: Fix use of uninitialized memory. --- dlls/gdiplus/graphics.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 1e3f9461732..324b8955241 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -4713,6 +4713,9 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string args.graphics = graphics; args.brush = brush; + args.x = rect->X; + args.y = rect->Y; + args.rel_width = rel_width; args.rel_height = rel_height; -- 2.11.4.GIT