[PATCH] user32: Avoid using the comma operator

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


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/user32/text.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/text.c b/dlls/user32/text.c
index 9601c60da1..fd0751e6f6 100644
--- a/dlls/user32/text.c
+++ b/dlls/user32/text.c
@@ -677,7 +677,7 @@ static const WCHAR *TEXT_NextLineW( HDC hdc, const WCHAR *str, int *count,
             {
                 /* Throw away katakana access keys */
                 (*count)--, i++; /* skip the prefix */
-                (*count)--, i++; /* skip the letter */
+                (*count)--; i++; /* skip the letter */
             }
             else
             {
-- 
2.20.1




More information about the wine-devel mailing list