diff dmtimelinew.c @ 328:dd7b1356d726

More work.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 14 Oct 2012 23:47:33 +0300
parents 2964947674d1
children 882503ef7ab8
line wrap: on
line diff
--- a/dmtimelinew.c	Sun Oct 14 23:36:06 2012 +0300
+++ b/dmtimelinew.c	Sun Oct 14 23:47:33 2012 +0300
@@ -145,6 +145,12 @@
     if ((err = dmSaveTimelineCurve(res, &(track->composite))) != DMERR_OK)
         return err;
 
+    return DMERR_OK;
+}
+
+
+int dmSaveTimeline(DMResource *res, DMTimeline *tl)
+{
     int track, err;
     DMFTimeline hdr;
 
@@ -166,6 +172,9 @@
     }
 
     return DMERR_OK;
+}
+
+
 int dmTimelineNew(DMTimeline **ptl, const char *name)
 {
     DMTimeline *tl;
@@ -279,12 +288,3 @@
     }
     return NULL;
 }
-}
-
-
-int dmSaveTimeline(DMResource *res, DMTimeline *tl)
-{
-    return DMERR_OK;
-}
-
-