# HG changeset patch # User rfelker # Date 1156196819 0 # Node ID 5890c54b755cf2727b45baa2e97b19b61c5a7455 # Parent 735714372953d49d0f1f971be99bd12917a84d0a no c++ decls! diff -r 735714372953 -r 5890c54b755c libass/ass_fontconfig.c --- a/libass/ass_fontconfig.c Mon Aug 21 20:21:03 2006 +0000 +++ b/libass/ass_fontconfig.c Mon Aug 21 21:46:59 2006 +0000 @@ -207,9 +207,11 @@ 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;