diff tools/ppl.c @ 1606:93d1050eac99

Rename dmf_create_*() functions to dmf_open_*().
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 14 May 2018 11:20:05 +0300
parents 096767827bb8
children 8af6067b6bd7
line wrap: on
line diff
--- a/tools/ppl.c	Mon May 14 10:53:54 2018 +0300
+++ b/tools/ppl.c	Mon May 14 11:20:05 2018 +0300
@@ -557,7 +557,7 @@
         return 1;
     }
 
-    if ((result = dmf_create_stdio(optFilename, "rb", &file)) != DMERR_OK)
+    if ((result = dmf_open_stdio(optFilename, "rb", &file)) != DMERR_OK)
     {
         dmErrorMsg("Error opening file '%s', %d: (%s)\n",
             optFilename, result, dmErrorStr(result));
@@ -606,7 +606,7 @@
     }
 
     // Get font
-    result = dmf_create_memio(NULL, "pplfont.fnt", engineSetupFont, sizeof(engineSetupFont), &file);
+    result = dmf_open_memio(NULL, "pplfont.fnt", engineSetupFont, sizeof(engineSetupFont), &file);
     if (result != DMERR_OK)
     {
         dmErrorMsg("Error opening font file 'pplfont.fnt', #%d: %s\n",