diff --git a/sae1-02.c b/sae1-02.c index 4d2f0af..5b47800 100644 --- a/sae1-02.c +++ b/sae1-02.c @@ -103,7 +103,7 @@ listetuinfo lireEtu(FILE *fe){ listetuinfo b; int i; fscanf(fe, "%d %s %s %d %d %d %d %d", &b.numeroetu, b.nometu, b.prenometu, &b.notes[0], &b.notes[1], &b.notes[2], &b.notes[3], &b.nbchoix); - b.lchoixdept = lireChoix(fe, nbchoix); + b.lchoixdept = lireChoix(fe, b.nbchoix); return b; }