diff tools/mod2wav.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 ad3ad5d9681b
children c3e88d9343ca
line wrap: on
line diff
--- a/tools/mod2wav.c	Mon May 14 10:53:54 2018 +0300
+++ b/tools/mod2wav.c	Mon May 14 11:20:05 2018 +0300
@@ -153,7 +153,7 @@
     jssInit();
 
     // Open the source file
-    if ((result = dmf_create_stdio(optInFilename, "rb", &inFile)) != DMERR_OK)
+    if ((result = dmf_open_stdio(optInFilename, "rb", &inFile)) != DMERR_OK)
     {
         dmErrorMsg("Error opening input file '%s', %d: %s\n",
             optInFilename, result, dmErrorStr(result));