diff editor/edtlobj.cpp @ 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 e2ac08228a0f
children b4992d9f72fe
line wrap: on
line diff
--- a/editor/edtlobj.cpp	Mon May 14 10:53:54 2018 +0300
+++ b/editor/edtlobj.cpp	Mon May 14 11:20:05 2018 +0300
@@ -33,7 +33,7 @@
     QByteArray fnba = mfilename.toUtf8();
     DMResource *res;
     DMTimeline *tmp;
-    if ((res = dmf_create_stdio(fnba.data(), "rb")) == NULL)
+    if ((res = dmf_open_stdio(fnba.data(), "rb")) == NULL)
         return DMERR_FOPEN;
 
     int err = dmLoadTimeline(res, &tmp);
@@ -61,7 +61,7 @@
 {
     QByteArray fnba = mfilename.toUtf8();
     DMResource *res;
-    if ((res = dmf_create_stdio(fnba.data(), "wb")) == NULL)
+    if ((res = dmf_open_stdio(fnba.data(), "wb")) == NULL)
         return DMERR_FOPEN;
 
     int err = dmSaveTimeline(res, tl);