From 198713a2b15ea835de6bc0f889c260c62a376e42 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 04 Mar 2013 20:42:47 -0500 Subject: Add a sprite color to palettes. --- (limited to 'src') 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(); -- cgit v0.9.1