tarot_face: use direct character arrays instead of arrays of pointers to global strings
This commit is contained in:
parent
8e11285fd9
commit
e512b731bb
@ -41,7 +41,7 @@
|
|||||||
// Custom methods
|
// Custom methods
|
||||||
// --------------
|
// --------------
|
||||||
|
|
||||||
static char *major_arcana[] = {
|
static char major_arcana[][7] = {
|
||||||
" FOOL ",
|
" FOOL ",
|
||||||
"Mgcian",
|
"Mgcian",
|
||||||
"HPrsts",
|
"HPrsts",
|
||||||
@ -67,7 +67,7 @@ static char *major_arcana[] = {
|
|||||||
};
|
};
|
||||||
#define NUM_MAJOR_ARCANA (sizeof(major_arcana) / sizeof(*major_arcana))
|
#define NUM_MAJOR_ARCANA (sizeof(major_arcana) / sizeof(*major_arcana))
|
||||||
|
|
||||||
static char *suits[] = {
|
static char suits[][7] = {
|
||||||
" wands",
|
" wands",
|
||||||
" cups",
|
" cups",
|
||||||
"swords",
|
"swords",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user