diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-26 22:53:52 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-26 22:53:52 +0000 |
commit | b11cd1d85639a0848f03f6536d3b61be0ed859b6 (patch) | |
tree | da081830d864cbae8e2cfa438ab0c395651d7f74 /libass/ass_font.c | |
parent | 1bb692d6993e3ddced12a707870667078e4686c5 (diff) | |
download | mpv-b11cd1d85639a0848f03f6536d3b61be0ed859b6.tar.bz2 mpv-b11cd1d85639a0848f03f6536d3b61be0ed859b6.tar.xz |
Remove obsolete "no_more_font_messages" hack.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21295 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_font.c')
-rw-r--r-- | libass/ass_font.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c index 5778935d6b..c89931bda0 100644 --- a/libass/ass_font.c +++ b/libass/ass_font.c @@ -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 @@ int ass_font_init(FT_Library ftlibrary, void* fc_priv, ass_font_t* font, ass_fon 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; } |