]> git.earman.xyz Git - sensor-watch.git/commitdiff
tarot_face: use direct character arrays instead of arrays of pointers to global strings
authorJeremy O'Brien <neutral@fastmail.com>
Mon, 23 Jan 2023 22:21:45 +0000 (17:21 -0500)
committerjoeycastillo <joeycastillo@utexas.edu>
Wed, 25 Jan 2023 16:25:30 +0000 (10:25 -0600)
movement/watch_faces/complication/tarot_face.c

index 403a92df121176aa52dd020f335159e26a75da6e..62d6f8405371fccafe0ac4cc18f09f007b9d39fe 100644 (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",