[PATCH v2 3/4] msvcrt: Pass temporary locale to MSVCRT__towlower_l.

Rémi Bernon rbernon at codeweavers.com
Mon Nov 9 08:38:10 CST 2020


On 11/9/20 3:32 PM, Rémi Bernon wrote:
> @@ -406,6 +419,9 @@ int CDECL MSVCRT__wcslwr_s_l( MSVCRT_wchar_t* str, MSVCRT_size_t n, MSVCRT__loca
>       return MSVCRT_EINVAL;
>     }
>   
> +  if(!locale)
> +    locale = get_current_locale_noalloc(&tmp);
> +
>     while (n--)
>     {
>       if (!*ptr) return 0;
Oops, I missed that return 0. sorry I'll send another version.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list