[MPlayer-cvslog] r19487 - trunk/libass/ass_fontconfig.c

rfelker subversion at mplayerhq.hu
Mon Aug 21 23:46:59 CEST 2006


Author: rfelker
Date: Mon Aug 21 23:46:59 2006
New Revision: 19487

Modified:
   trunk/libass/ass_fontconfig.c

Log:
no c++ decls!

Modified: trunk/libass/ass_fontconfig.c
==============================================================================
--- trunk/libass/ass_fontconfig.c	(original)
+++ trunk/libass/ass_fontconfig.c	Mon Aug 21 23:46:59 2006
@@ -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;



More information about the MPlayer-cvslog mailing list