Mercurial > mplayer.hg
changeset 23340:15b2b1e8a568
Fix #if condition.
author | eugeni |
---|---|
date | Sun, 20 May 2007 17:56:39 +0000 |
parents | 95bc9f4905f8 |
children | 74f5109611e2 |
files | libass/ass_font.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_font.c Sun May 20 17:04:12 2007 +0000 +++ b/libass/ass_font.c Sun May 20 17:56:39 2007 +0000 @@ -156,7 +156,7 @@ static void face_set_size(FT_Face face, double size) { -#if (FREETYPE_MAJOR >= 2) +#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1)) TT_HoriHeader *hori = FT_Get_Sfnt_Table(face, ft_sfnt_hhea); TT_OS2 *os2 = FT_Get_Sfnt_Table(face, ft_sfnt_os2); double mscale = 1.;