aboutsummaryrefslogtreecommitdiffhomepage
path: root/libass
diff options
context:
space:
mode:
authorGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-20 17:56:39 +0000
committerGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-20 17:56:39 +0000
commitc64608422af170fd6c087c8d48faab56782679f5 (patch)
tree03a9b2362e0a03c378dfefcc8c391bd5a6cad4ca /libass
parent225a00fb2e1b474f85f496ff1dafbd38d89756ca (diff)
Fix #if condition.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23358 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c
index a629dcd660..493a283175 100644
--- a/libass/ass_font.c
+++ b/libass/ass_font.c
@@ -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.;