usp10: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2017-10-10 16:44:17 +03:00 committed by Alexandre Julliard
parent 1ae09d5fb2
commit a34adbefe4

View file

@ -2641,7 +2641,7 @@ HRESULT WINAPI ScriptCPtoX(int iCP,
iPosX = 0.0; iPosX = 0.0;
for (item=0; item < iCP && item < cChars; item++) for (item=0; item < iCP && item < cChars; item++)
{ {
if (iSpecial == -1 && (iCluster == -1 || (iCluster != -1 && iCluster+clust_size <= item))) if (iSpecial == -1 && (iCluster == -1 || iCluster+clust_size <= item))
{ {
int check; int check;
int clust = pwLogClust[item]; int clust = pwLogClust[item];