older freetype

This commit is contained in:
David Rose 2002-04-05 02:12:52 +00:00
parent 5338cc677f
commit 6a6b12053a

View File

@ -108,7 +108,7 @@ TextMaker(const char *font_data, int font_data_size, int face_index) {
}
int error = FT_New_Memory_Face(_ft_library,
(const FT_Byte *)font_data, font_data_size,
(FT_Byte *)font_data, font_data_size,
face_index,
&_face);
if (error == FT_Err_Unknown_File_Format) {