Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenloader / intern / writefile.c
index 7bf8babd3c99720baf6626b467cbccfebfcf0b9a..6398d0f59f21773efc6a471e27c7ab2418b4f924 100644 (file)
@@ -846,13 +846,13 @@ static void write_fcurves(WriteData *wd, ListBase *fcurves)
                        /* variables */
                        writelist(wd, DATA, DriverVar, &driver->variables);
                        for (dvar = driver->variables.first; dvar; dvar = dvar->next) {
-                               DRIVER_TARGETS_USED_LOOPER(dvar)
+                               DRIVER_TARGETS_USED_LOOPER_BEGIN(dvar)
                                {
                                        if (dtar->rna_path) {
                                                writedata(wd, DATA, strlen(dtar->rna_path) + 1, dtar->rna_path);
                                        }
                                }
-                               DRIVER_TARGETS_LOOPER_END
+                               DRIVER_TARGETS_LOOPER_END;
                        }
                }