[PATCH] usp10: Remove worthless check.

Andrey Gusev andrey.goosev at gmail.com
Thu Nov 2 11:22:36 CDT 2017


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/usp10/usp10.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 59abbad778..5d257b2c1c 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -3028,9 +3028,6 @@ HRESULT WINAPI ScriptIsComplex(const WCHAR *chars, int len, DWORD flag)
 
     for (i = 0; i < len; i+=consumed)
     {
-        if (i >= len)
-            break;
-
         if ((flag & SIC_ASCIIDIGIT) && chars[i] >= 0x30 && chars[i] <= 0x39)
             return S_OK;
 
-- 
2.13.6




More information about the wine-patches mailing list