Mercurial > hg > dmlib
diff src/dmtimelinew.c @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | 862a943afff4 |
children |
line wrap: on
line diff
--- a/src/dmtimelinew.c Thu Dec 08 15:56:36 2022 +0200 +++ b/src/dmtimelinew.c Thu Dec 08 15:59:22 2022 +0200 @@ -7,7 +7,7 @@ #include "dmengine.h" -static BOOL dmSaveFloatValue(DMResource *res, const DMFloat val) +static bool dmSaveFloatValue(DMResource *res, const DMFloat val) { char tmp[DT_FLOAT_STORE_SIZE]; snprintf(tmp, DT_FLOAT_STORE_SIZE, "%f", val); @@ -229,7 +229,7 @@ return DMERR_MALLOC; track->name = dm_strdup(name); - track->enabled = TRUE; + track->enabled = true; if (tl->ntracks + 1 >= tl->nallocated) {