kernel32: MultiByteToWideChar: MB_USEGLYPHCHARS & incorrect GetLastError() codes fix

Kirill K. Smirnov lich at math.spbu.ru
Fri May 4 06:40:26 CDT 2007


> +
> +/* adds glyphs to the string */
> +static inline void add_glyphs( WCHAR *str, unsigned int length )
> +{
> +    unsigned int i;
> +    for (i=0; i!=length; i++) {
> +	if (str[i]<0x20) str[i]=glyph_xlat[str[i]];
> +    }
> +}
>

Page
http://blogs.msdn.com/michkap/archive/2005/02/26/381020.aspx
claims that symbol 0x7F should be converted too, but I did not check it.

--
Kirill



More information about the wine-devel mailing list