usp10: Remove worthless check.

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-11-02 18:22:36 +02:00 committed by Alexandre Julliard
parent fd8185132e
commit f6ad192cd2

View file

@ -3028,9 +3028,6 @@ HRESULT WINAPI ScriptIsComplex(const WCHAR *chars, int len, DWORD flag)
for (i = 0; i < len; i+=consumed) for (i = 0; i < len; i+=consumed)
{ {
if (i >= len)
break;
if ((flag & SIC_ASCIIDIGIT) && chars[i] >= 0x30 && chars[i] <= 0x39) if ((flag & SIC_ASCIIDIGIT) && chars[i] >= 0x30 && chars[i] <= 0x39)
return S_OK; return S_OK;