# HG changeset patch # User eugeni # Date 1179683799 0 # Node ID 15b2b1e8a56835e8114cb893aceb762f99c84513 # Parent 95bc9f4905f8815f9afb0a069b5ea762a1d8b7e5 Fix #if condition. diff -r 95bc9f4905f8 -r 15b2b1e8a568 libass/ass_font.c --- 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.;