Commit 86fcc45ad0fdf3fb20c7b13319e8f05e3e00ea37

Authored by mertz
1 parent a5593908

correction bug recherche

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
@@ -22,6 +22,7 @@ int find_mot(struct node **tab_ptr_tree,char mot[],int size,int fl) @@ -22,6 +22,7 @@ int find_mot(struct node **tab_ptr_tree,char mot[],int size,int fl)
22 ptr_node=ptr_node->fils[k]; 22 ptr_node=ptr_node->fils[k];
23 break; 23 break;
24 } 24 }
  25 + if(k+1==ptr_node->nbr_fils)return 1;
25 } 26 }
26 } 27 }
27 28
@@ -32,4 +33,4 @@ int find_mot(struct node **tab_ptr_tree,char mot[],int size,int fl) @@ -32,4 +33,4 @@ int find_mot(struct node **tab_ptr_tree,char mot[],int size,int fl)
32 int find() 33 int find()
33 { 34 {
34 return 0; 35 return 0;
35 -}  
36 \ No newline at end of file 36 \ No newline at end of file
  37 +}