From: Jeremy O'Brien Date: Mon, 23 Jan 2023 22:21:45 +0000 (-0500) Subject: tarot_face: use direct character arrays instead of arrays of pointers to global strings X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=e512b731bb1c8f20624ecf89c4721ad948fb455c;p=sensor-watch.git tarot_face: use direct character arrays instead of arrays of pointers to global strings --- diff --git a/movement/watch_faces/complication/tarot_face.c b/movement/watch_faces/complication/tarot_face.c index 403a92d..62d6f84 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",