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 | 4dcceaf3695d1bb2f3dff4e4cd4edc0ff36254e1 (patch) | |
tree | 01de689ca7d6a7fab0b35e639add9090ba258718 /libass/ass_font.c | |
parent | 8a9fdef48d4557b4140f61cd06ba922f3bb3804e (diff) | |
download | libass-4dcceaf3695d1bb2f3dff4e4cd4edc0ff36254e1.tar.bz2 libass-4dcceaf3695d1bb2f3dff4e4cd4edc0ff36254e1.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 5778935..c89931b 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; } |