From 0c8a8f993179967f06e01d88eab03a52de81b1c4 Mon Sep 17 00:00:00 2001 From: amperork Date: Tue, 1 Oct 2024 17:24:29 +0200 Subject: [PATCH] commit 2 --- liste.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liste.c b/liste.c index ce30547..86a69e2 100755 --- a/liste.c +++ b/liste.c @@ -39,11 +39,10 @@ liste supprimer(liste l) { void afficherliste(liste l) { liste tmp = l; - do { + while (tmp->next != NULL) { affichage_voie(tmp->contenu); tmp=tmp->next; } - while (tmp->next != NULL); } int case_vide(liste l) {