no c++ decls!

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19487 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2006-08-21 21:46:59 +00:00
parent 5c5881750f
commit 748d139e19
1 changed files with 3 additions and 1 deletions

View File

@ -207,9 +207,11 @@ char* fontconfig_select(fc_instance_t* priv, const char* family, unsigned bold,
fc_instance_t* fontconfig_init(const char* dir, const char* family, const char* path)
{
fc_instance_t* priv;
mp_msg(MSGT_GLOBAL, MSGL_WARN, "Fontconfig disabled, only default font will be used\n");
fc_instance_t* priv = calloc(1, sizeof(fc_instance_t));
priv = calloc(1, sizeof(fc_instance_t));
priv->path_default = strdup(path);
priv->index_default = 0;