Michael Stefaniuc : user32: Avoid using the comma operator.

Alexandre Julliard julliard at winehq.org
Fri Apr 5 16:04:59 CDT 2019


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

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

user32: Avoid using the comma operator.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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 9601c60..fd0751e 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
             {




More information about the wine-cvs mailing list