diff --git a/treeh.c b/treeh.c index c32fdd7..1b0ba3f 100644 --- a/treeh.c +++ b/treeh.c @@ -46,13 +46,13 @@ int hash(char c){ //needs to check c wether isalpha or '\'' if(c='\'') return 0; - return c%64; + return c%32; } // -bool addto_tree(tree t,string s,bool isIn){ +bool addto_tree(tree t,string s,unsigned int index,bool isIn){ //recursive, when called : set isIn to true //return wether s is already in t or not if(s[0]=='\0'){ -- libgit2 0.21.2