From de4d0399600faf345ea44db2568d8ed7bb8398f2 Mon Sep 17 00:00:00 2001 From: "yann.champeau" Date: Fri, 13 Jan 2023 20:29:01 +0100 Subject: [PATCH] Ajustements. --- src/partie1/saeP1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partie1/saeP1.c b/src/partie1/saeP1.c index f7ebd62..fcecf7c 100644 --- a/src/partie1/saeP1.c +++ b/src/partie1/saeP1.c @@ -295,7 +295,7 @@ void creerDep(VilleIUT* tiut[],int tlogi){ fgets(m->resp, 51, stdin); int i=0; while(m->resp[i+1]!='\0')i++; - m->resp[i]='\0' + m->resp[i]='\0'; printf("\n\nLe département %s a bien été ajouté à l'IUT de %s.\n",m->departement,ville); return; }