From a4d0205fd2aaa573f3098f848af6a9d713b72edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20DAIM?= Date: Fri, 13 Jan 2023 19:08:02 +0100 Subject: [PATCH] correctio d'un bug dans "creerCandidat" --- Msae.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Msae.c b/Msae.c index 8ec806e..9fb20ef 100644 --- a/Msae.c +++ b/Msae.c @@ -1519,6 +1519,7 @@ Candidat ** creerCandidat(Candidat *tCand[], int *tMax,int *pos) c->notes[1] = notes[1]; c->notes[2] = notes[2]; c->notes[3] = notes[3]; + c->nombreChoix=0; tCand = reallocationCand(tCand, *tMax); /* Réallocation du tableau de candidats pour ajouter une place */ for(i = *tMax; i > *pos; i--) /* Décalage à droite des éléments du tableau à partir de la position d'insertion */ {