From: Mazet Laurent Date: Mon, 3 Jun 2024 05:43:28 +0000 (+0200) Subject: corret spelling X-Git-Tag: v1.0~7 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=c3da700d328976448e571e8597ec5aacca77c629;p=bs.git corret spelling --- 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);