From 0841c5d8ea01c23b0fcd05f4d009a37576b67ba0 Mon Sep 17 00:00:00 2001 From: Soufian LABED Date: Wed, 5 Oct 2022 14:30:59 +0200 Subject: [PATCH 1/3] Revert "programme enzyme" This reverts commit d2a4db44633a2d2b9e7fbd7a9aa5725d307673c0. --- 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) { From cacc0d5d2d764d6a5bf8a06133aae293adc5042a Mon Sep 17 00:00:00 2001 From: Soufian LABED Date: Wed, 5 Oct 2022 14:40:39 +0200 Subject: [PATCH 2/3] Revert "Revert "programme enzyme"" This reverts commit 0841c5d8ea01c23b0fcd05f4d009a37576b67ba0. --- liste.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liste.c b/liste.c index 86a69e2..ce30547 100755 --- a/liste.c +++ b/liste.c @@ -39,10 +39,11 @@ liste supprimer(liste l) { void afficherliste(liste l) { liste tmp = l; - while (tmp->next != NULL) { + do { affichage_voie(tmp->contenu); tmp=tmp->next; } + while (tmp->next != NULL); } int case_vide(liste l) { From fd5185627580ee880f4236cf5b79af371f30edea Mon Sep 17 00:00:00 2001 From: Soufian LABED Date: Wed, 5 Oct 2022 14:40:44 +0200 Subject: [PATCH 3/3] Revert "programme enzyme" This reverts commit d2a4db44633a2d2b9e7fbd7a9aa5725d307673c0. --- 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) {