diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-28 22:27:11 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-28 22:27:11 +0000 |
commit | f035bf48b1ed43222a13509e8b4016060f1c9955 (patch) | |
tree | cff576c3694220c24a0d1e427a1541c33d54663d | |
parent | 247ce618abd76c3fcc76750bee27591fb8bc6225 (diff) |
Sun, Apr 28, 2024, 3:27 PM -07:00
-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 = } /* |