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