Michael Stefaniuc : wineps.drv: Avoid using the comma operator.

Alexandre Julliard julliard at winehq.org
Tue Apr 9 16:31:02 CDT 2019


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Apr  5 21:03:56 2019 +0200

wineps.drv: Avoid using the comma operator.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wineps.drv/bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wineps.drv/bitmap.c b/dlls/wineps.drv/bitmap.c
index c4d0a96..c1de724 100644
--- a/dlls/wineps.drv/bitmap.c
+++ b/dlls/wineps.drv/bitmap.c
@@ -271,7 +271,7 @@ DWORD PSDRV_PutImage( PHYSDEV dev, HRGN clip, BITMAPINFO *info,
     }
 
     dst_x = dst->visrect.left;
-    dst_y = dst->visrect.top,
+    dst_y = dst->visrect.top;
     dst_width = dst->visrect.right - dst->visrect.left;
     dst_height = dst->visrect.bottom - dst->visrect.top;
     if (src->width * dst->width < 0)




More information about the wine-cvs mailing list