usp10: Don't increment variable both in the loop header and body (clang).

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2018-03-28 19:52:59 +02:00 committed by Alexandre Julliard
parent ecbb4fa3ea
commit 2417221531
1 changed files with 1 additions and 2 deletions

View File

@ -1696,7 +1696,7 @@ static void ComposeConsonants(HDC hdc, WCHAR *pwOutChars, INT *pcChars, const Co
int offset = 0;
int cWalk;
for (cWalk = 0; cWalk < *pcChars; cWalk++)
for (cWalk = 0; cWalk < *pcChars; cWalk += 2)
{
for (i = 0; consonants[i].output!= 0x0; i++)
{
@ -1721,7 +1721,6 @@ static void ComposeConsonants(HDC hdc, WCHAR *pwOutChars, INT *pcChars, const Co
break;
}
}
cWalk++;
}
}