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

This commit is contained in:
Huw Davies 2005-08-15 14:50:36 +00:00 committed by Alexandre Julliard
parent 75139a3e01
commit 399e6911b3
1 changed files with 1 additions and 1 deletions

View File

@ -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)