Michael Stefaniuc : gdiplus: Avoid using the comma operator.

Alexandre Julliard julliard at winehq.org
Fri Mar 22 16:06:19 CDT 2019


Module: wine
Branch: master
Commit: 5d2aa1eebd11d2b7f65169ce6a43ed11377668b4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5d2aa1eebd11d2b7f65169ce6a43ed11377668b4

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Mar 22 08:47:34 2019 +0100

gdiplus: Avoid using the comma operator.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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));




More information about the wine-cvs mailing list