[PATCH] oleacc: Avoid using the comma operator

Michael Stefaniuc mstefani at winehq.org
Sun Mar 24 08:26:44 CDT 2019


Signed-off-by: Michael Stefaniuc <mstefani 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 40e7fbd653..0d313a27c3 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;
-- 
2.20.1




More information about the wine-devel mailing list