diff mplayer.c @ 25351:f46e91c64b39

Fix libass to support -nofontconfig. For history reason, fontconfig is auto-enabled when ass is enabled, we keep this behavior and document it clearly.
author ulion
date Wed, 12 Dec 2007 10:00:34 +0000
parents 42aa06653705
children fec8936c8079
line wrap: on
line diff
--- a/mplayer.c	Wed Dec 12 08:50:54 2007 +0000
+++ b/mplayer.c	Wed Dec 12 10:00:34 2007 +0000
@@ -2528,7 +2528,7 @@
   init_freetype();
 #endif
 #ifdef HAVE_FONTCONFIG
-  if(!font_fontconfig)
+  if(font_fontconfig <= 0)
   {
 #endif
 #ifdef HAVE_BITMAP_FONT