diff libass/ass_font.c @ 21279:9040bce9f768

Remove obsolete "no_more_font_messages" hack.
author eugeni
date Sun, 26 Nov 2006 22:53:52 +0000
parents 0603972f083c
children 4b2e5a74a2eb
line wrap: on
line diff
--- a/libass/ass_font.c	Sun Nov 26 22:50:47 2006 +0000
+++ b/libass/ass_font.c	Sun Nov 26 22:53:52 2006 +0000
@@ -30,8 +30,6 @@
 #include "ass_fontconfig.h"
 #include "mputils.h"
 
-extern int no_more_font_messages;
-
 /**
  * Select Microfost Unicode CharMap, if the font has one.
  * Otherwise, let FreeType decide.
@@ -61,9 +59,7 @@
 	
 	error = FT_New_Face(ftlibrary, path, index, &face);
 	if (error) {
-		if (!no_more_font_messages)
-			mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_ErrorOpeningFont, path, index);
-		no_more_font_messages = 1;
+		mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_ErrorOpeningFont, path, index);
 		return 1;
 	}