diff options
| author | Johannes Herman <johannes.herman@gmail.com> | 2026-01-21 08:06:18 +0100 |
|---|---|---|
| committer | Johannes Herman <johannes.herman@gmail.com> | 2026-01-21 08:06:18 +0100 |
| commit | a5bb4f7f7ab7f624fcf22e6211b159f0c7577835 (patch) | |
| tree | 5f2a7b71efd14d89b4c91153ec9f7b803ee52248 /inc | |
| parent | 2b2a25794fae72dc2f05bc3a670c32cd00f2cace (diff) | |
code cleanup, fewer magic numbers
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/demo.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ #include <stdio.h> +#define DEMO_TIMELINE_LENGTH 260 + typedef enum { DEMOTICK = 0, @@ -27,7 +29,7 @@ typedef struct /* demotimeline struct, only contains the raw data */ typedef struct { - char data[260]; + char data[DEMO_TIMELINE_LENGTH]; } demotimeline; /* demomap struct */ |
