corret spelling
authorMazet Laurent <mazet@softndesign.org>
Mon, 3 Jun 2024 05:43:28 +0000 (07:43 +0200)
committerMazet Laurent <mazet@softndesign.org>
Mon, 3 Jun 2024 05:43:28 +0000 (07:43 +0200)
battleships.c

index 5662501ba8f9c4f96b251435ccbabe0e54fba6b3..5a177a35188b387d32b03ea39656133e92db98e2 100644 (file)
@@ -233,7 +233,7 @@ int main (int argc, char *argv[])
                 }
             } else {
                 if (drawbomb (boardcomputer, x, y)) {
-                    displaylogs ("Computer ship hited", wlogs, hlogs, xlogs, ylogs);
+                    displaylogs ("Computer ship hitted", wlogs, hlogs, xlogs, ylogs);
                 }
                 if (!findlocation (boardcomputer, 1, &x, &y, &orient, " S")) {
                     VERBOSE (WARNING, fprintf (stderr, "can't position for bomb %d\n", 1));
@@ -249,7 +249,7 @@ int main (int argc, char *argv[])
                 /* computer turn */
 
                 if (drawbomb (boardhuman, -1, -1)) {
-                    displaylogs ("Humain ship hited", wlogs, hlogs, xlogs, ylogs);
+                    displaylogs ("Humain ship hitted", wlogs, hlogs, xlogs, ylogs);
                 }
                 if (testsunk (boardhuman)) {
                     displayboard (boardhuman, xhuman, yhuman, mode, 1);