From 6e68d77916fb082844fd63874d97da93aee39867 Mon Sep 17 00:00:00 2001 From: tvieuble Date: Wed, 1 May 2019 16:09:38 +0200 Subject: [PATCH] correction sur projetfinalaccent2.c --- projetfinalaccent2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projetfinalaccent2.c b/projetfinalaccent2.c index 64c0f40..2db6322 100644 --- a/projetfinalaccent2.c +++ b/projetfinalaccent2.c @@ -184,7 +184,6 @@ void correction_mot(struct node tab_arbre_prcp[]) { while((verif == 1) && (motLu[i] != '\0')) { i += 1; if((motLu[i] == '.') || (motLu[i] == ',') || (motLu[i] == ';') || (motLu[i] == ':') || (motLu[i] == '!') || (motLu[i] == '?')) motLu[i] = '\0'; - wprintf(L"lettre lue %d\n", motLu[i]); localisationArbre = test_mot(motLu[i], localisationArbre, &verif); } if(verif == 0) { @@ -206,7 +205,7 @@ void desalocationArbre(struct cell** pL) { void desalocationTableauArbre(struct node tab_arbre[]) { int i = 0; - for(wchar_t u = 'a'; u < A; u++) { + for(wchar_t u = 'a'; u <= A+5; u++) { //A+5 car ajout de 5 caractères de ponctuation en plus des lettres desalocationArbre(&tab_arbre[i].listeFils); i++; } -- libgit2 0.21.2