Module: wine Branch: master Commit: 5d2aa1eebd11d2b7f65169ce6a43ed11377668b4 URL: https://source.winehq.org/git/wine.git/?a=commit;h=5d2aa1eebd11d2b7f65169ce6...
Author: Michael Stefaniuc mstefani@winehq.org Date: Fri Mar 22 08:47:34 2019 +0100
gdiplus: Avoid using the comma operator.
Signed-off-by: Michael Stefaniuc mstefani@winehq.org Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/gdiplus/brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c index 42b7e84..e65d4a2 100644 --- a/dlls/gdiplus/brush.c +++ b/dlls/gdiplus/brush.c @@ -67,7 +67,7 @@ GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **clone) *clone = heap_alloc_zero(sizeof(GpPathGradient)); if (!*clone) return OutOfMemory;
- src = (GpPathGradient*) brush, + src = (GpPathGradient*) brush; dest = (GpPathGradient*) *clone;
memcpy(dest, src, sizeof(GpPathGradient));