[PATCH] msvcrt: Fix the btowc() function.

Piotr Caban piotr.caban at gmail.com
Thu Dec 26 08:45:01 CST 2019


Hi Chip,

On 12/11/19 6:53 PM, Chip Davis wrote:
> +    if(!get_locinfo()->lc_codepage)
> +        return c <= 255 ? c : MSVCRT_WEOF;
It doesn't work correctly in the !lc_codepage && c>255 case.

Thanks,
Piotr



More information about the wine-devel mailing list