From c3da700d328976448e571e8597ec5aacca77c629 Mon Sep 17 00:00:00 2001 From: Mazet Laurent Date: Mon, 3 Jun 2024 07:43:28 +0200 Subject: [PATCH] corret spelling --- battleships.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/battleships.c b/battleships.c index 5662501..5a177a3 100644 --- a/battleships.c +++ b/battleships.c @@ -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); -- 2.30.2