Code

colors: color id is the index of the "colors" array
authorMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:24:28 +0000 (14:24 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:24:28 +0000 (14:24 +0200)
commit7a12f9e8754a10634fa43732712dc60b87fa2c47
treeeee8b02c060839674ec6346697dde9d020a5e75e
parent43dfcc89822e46657db0d2bd52721e4ce852a357
colors: color id is the index of the "colors" array

The color ids are sequential, and we can save some bytes if we use it
for the array index.
src/colors.c
src/colors.h