tarot_face: use direct character arrays instead of arrays of pointers to global strings

This commit is contained in:
Jeremy O'Brien 2023-01-23 17:21:45 -05:00 committed by joeycastillo
parent 8e11285fd9
commit e512b731bb

View File

@ -41,7 +41,7 @@
// Custom methods
// --------------
static char *major_arcana[] = {
static char major_arcana[][7] = {
" FOOL ",
"Mgcian",
"HPrsts",
@ -67,7 +67,7 @@ static char *major_arcana[] = {
};
#define NUM_MAJOR_ARCANA (sizeof(major_arcana) / sizeof(*major_arcana))
static char *suits[] = {
static char suits[][7] = {
" wands",
" cups",
"swords",