MR28v1 - winex11: PE conversion preparation

Huw Davies (@huw) wine at gitlab.winehq.org
Tue May 3 08:53:21 CDT 2022


Huw Davies (@huw) commented about dlls/winex11.drv/keyboard.c:
>  	if(ret)
>  	{
>  	    TRACE_(key)("Translating char 0x%02x to unicode\n", *(BYTE *)lpChar);
> -	    ret = MultiByteToWideChar(CP_UNIXCP, 0, lpChar, ret, bufW, bufW_size);
> +            ret = ntdll_umbstowcs(  lpChar, ret, bufW, bufW_size );
It hardly seems worth mentioning, but I will: there's a double space before `lpChar`.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/28#note_559



More information about the wine-devel mailing list