Fix #if condition.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23358 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2007-05-20 17:56:39 +00:00
parent 225a00fb2e
commit c64608422a
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ void ass_font_set_transform(ass_font_t* font, double scale_x, double scale_y, FT
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.;