Mercurial > mplayer.hg
changeset 22946:e7f1374cac88
Don't check if user-supplied default font path exists.
It is checked in FT_New_Face anyway.
author | eugeni |
---|---|
date | Tue, 10 Apr 2007 17:53:41 +0000 |
parents | 6ddd36457941 |
children | ca7c2ec2c66b |
files | libass/ass_fontconfig.c |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_fontconfig.c Mon Apr 09 22:11:31 2007 +0000 +++ b/libass/ass_fontconfig.c Tue Apr 10 17:53:41 2007 +0000 @@ -383,13 +383,8 @@ } priv->family_default = family ? strdup(family) : 0; + priv->path_default = path ? strdup(path) : 0; priv->index_default = 0; - - rc = stat(path, &st); - if (!rc && S_ISREG(st.st_mode)) - priv->path_default = path ? strdup(path) : 0; - else - priv->path_default = 0; return priv; }