diff options
Diffstat (limited to 'wk5')
-rw-r--r-- | wk5/pset/speller/dictionary.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index e57fc5e..342f843 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -67,6 +67,8 @@ bool load(const char *dictionary) } // copy word from fscanf into node using strcpy strcpy(ptr->word, word); + hash(word); + ptr->next = } /* |