Commit bb444e81 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Fix point conversion in GdipCreateLineBrushI.

parent f3dcfa19
...@@ -404,7 +404,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint* startpoint, ...@@ -404,7 +404,7 @@ GpStatus WINGDIPAPI GdipCreateLineBrushI(GDIPCONST GpPoint* startpoint,
stF.X = (REAL)startpoint->X; stF.X = (REAL)startpoint->X;
stF.Y = (REAL)startpoint->Y; stF.Y = (REAL)startpoint->Y;
endF.X = (REAL)endpoint->X; endF.X = (REAL)endpoint->X;
endF.X = (REAL)endpoint->Y; endF.Y = (REAL)endpoint->Y;
return GdipCreateLineBrush(&stF, &endF, startcolor, endcolor, wrap, line); return GdipCreateLineBrush(&stF, &endF, startcolor, endcolor, wrap, line);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment