From d834c9c9e8698789e0eaecb70558df6749ace020 Mon Sep 17 00:00:00 2001 From: "yann.champeau" Date: Fri, 13 Jan 2023 22:30:23 +0100 Subject: [PATCH] Ajustements. --- src/partie2/saeP2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partie2/saeP2.c b/src/partie2/saeP2.c index c31f743..bb7471e 100644 --- a/src/partie2/saeP2.c +++ b/src/partie2/saeP2.c @@ -193,7 +193,7 @@ void Candidater(VilleIUT* tiut[],int tlogi, candidat* tcandidat[], int nbcandida strcpy(voeu_ajout->dep,DepRech); voeu_ajout->ddep=0; voeu_ajout->vcand=0; - tcandidat[i]->TabVoeu[tcandidat[i]->nbchoix-1]=voeu_ajout; + tcandidat[i]->TabVoeu[tcandidat[i]->nbchoix]=voeu_ajout; tcandidat[i]->nbchoix++; }