mirror of https://github.com/mpv-player/mpv
no c++ decls!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19487 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5c5881750f
commit
748d139e19
|
@ -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* 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");
|
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->path_default = strdup(path);
|
||||||
priv->index_default = 0;
|
priv->index_default = 0;
|
||||||
|
|
Loading…
Reference in New Issue