From f035bf48b1ed43222a13509e8b4016060f1c9955 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 28 Apr 2024 22:27:11 +0000 Subject: Sun, Apr 28, 2024, 3:27 PM -07:00 --- wk5/pset/speller/dictionary.c | 2 ++ 1 file changed, 2 insertions(+) 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 = } /* -- cgit v1.2.3