afficherDeptIutDonne changement pour existeVille

master
loris OBRY 2 years ago
parent 0e3a4070bf
commit 58a0c09727

@ -514,7 +514,7 @@ void afficherDeptIutDonne(VilleIut **villeIut, int nbVille)
afficheVillesIUT(villeIut, nbVille);
printf("Veuillez saisir le nom de l'iut que vous voulez afficher.\n");
scanf("%s", nom);
res = existeIut(villeiut, nbVille, nom);
res = existeVille(villeiut, nbVille, nom);
if (res == -1)
{
printf("Cet IUT n'existe pas\n");

Loading…
Cancel
Save