changeset 362:d6c184800384

Fix to match with resource subsystem re-entrancy changes.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 16 Oct 2012 21:55:36 +0300
parents bf60f60cafba
children 7d611ebac3e5
files fontconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fontconv.c	Tue Oct 16 21:53:53 2012 +0300
+++ b/fontconv.c	Tue Oct 16 21:55:36 2012 +0300
@@ -195,7 +195,7 @@
 
 DMResource * dmf_create_csrc(const char *filename, const char *name)
 {
-    DMResource *handle = dmres_new(filename, 0, 0);
+    DMResource *handle = dmres_new(NULL, filename, 0, 0);
     if (handle == NULL)
         return NULL;
 
@@ -221,7 +221,7 @@
 
 DMResource * dmf_create_csrc_stream(FILE *fh, const char *name)
 {
-    DMResource *handle = dmres_new(NULL, 0, 0);
+    DMResource *handle = dmres_new(NULL, NULL, 0, 0);
     if (handle == NULL)
         return NULL;