[PATCH] wineps.drv: Avoid using the comma operator

Michael Stefaniuc mstefani at winehq.org
Fri Apr 5 14:03:56 CDT 2019


Signed-off-by: Michael Stefaniuc <mstefani 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 c4d0a965ae..c1de724b8e 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)
-- 
2.20.1




More information about the wine-devel mailing list