From e512b731bb1c8f20624ecf89c4721ad948fb455c Mon Sep 17 00:00:00 2001 From: Jeremy O'Brien Date: Mon, 23 Jan 2023 17:21:45 -0500 Subject: tarot_face: use direct character arrays instead of arrays of pointers to global strings --- movement/watch_faces/complication/tarot_face.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/movement/watch_faces/complication/tarot_face.c b/movement/watch_faces/complication/tarot_face.c index 403a92df..62d6f840 100644 --- a/movement/watch_faces/complication/tarot_face.c +++ b/movement/watch_faces/complication/tarot_face.c @@ -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", -- cgit v1.2.3