summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1dd376a..4320b72 100644
--- a/src/main.c
+++ b/src/main.c
@@ -90,8 +90,8 @@ main(void)
SDL_Palette *pal_start, *pal_end;
pal = malloc(sizeof(*pal));
- pal->colors = calloc(58, sizeof(*pal->colors));
- pal->ncolors = 58;
+ pal->colors = calloc(59, sizeof(*pal->colors));
+ pal->ncolors = 59;
i = 0;
start = SDL_GetTicks();