Commit 399e6911 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

A previous signed-ness fix broke display of non-ansi chars, fix this.

parent 75139a3e
......@@ -2212,7 +2212,7 @@ static FT_UInt get_glyph_index(GdiFont font, UINT glyph)
WCHAR wc = (WCHAR)glyph;
char buf;
WideCharToMultiByte(font->codepage, 0, &wc, 1, &buf, sizeof(buf), 0, 0);
return pFT_Get_Char_Index(font->ft_face, buf);
return pFT_Get_Char_Index(font->ft_face, (unsigned char)buf);
}
if(font->charset == SYMBOL_CHARSET && glyph < 0x100)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment