changeset 19481:5890c54b755c

no c++ decls!
author rfelker
date Mon, 21 Aug 2006 21:46:59 +0000
parents 735714372953
children a917f318c1b7
files libass/ass_fontconfig.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;