Michael Stefaniuc : oleacc: Avoid using the comma operator.

Alexandre Julliard julliard at winehq.org
Mon Mar 25 16:54:56 CDT 2019


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Sun Mar 24 14:26:44 2019 +0100

oleacc: Avoid using the comma operator.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/oleacc/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oleacc/client.c b/dlls/oleacc/client.c
index 40e7fbd..0d313a2 100644
--- a/dlls/oleacc/client.c
+++ b/dlls/oleacc/client.c
@@ -353,7 +353,7 @@ static HRESULT WINAPI Client_accLocation(IAccessible *iface, LONG *pxLeft,
     if(!GetClientRect(This->hwnd, &rect))
         return S_OK;
 
-    pt.x = rect.left,
+    pt.x = rect.left;
     pt.y = rect.top;
     MapWindowPoints(This->hwnd, NULL, &pt, 1);
     *pxLeft = pt.x;




More information about the wine-cvs mailing list