[PATCH] usp10: Remove worthless check.

Aric Stewart aric at codeweavers.com
Fri Nov 3 07:20:10 CDT 2017


Signed-off-by: Aric Stewart <aric at codeweavers.com>

On 11/2/17 11:22 AM, Andrey Gusev wrote:
> 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;
>   
> 



More information about the wine-patches mailing list