summaryrefslogtreecommitdiff
path: root/wk5/pset/speller/dictionary.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-29 02:40:46 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-29 02:40:46 +0000
commit7a7e45f833274377d26a22b89e62a2ce7bbc1b6e (patch)
tree9b2b2193563bbefc9c36fe01fe6beefbc16fd6b1 /wk5/pset/speller/dictionary.c
parent65482246eb5a13207c06a91f8c0939f5eea8eeb5 (diff)
Sun, Apr 28, 2024, 7:40 PM -07:00
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-rw-r--r--wk5/pset/speller/dictionary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index 20053fe..f479021 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -65,8 +65,8 @@ bool load(const char *dictionary)
{
// initialize the table
for (int i = 0; i < N; i++) {
+ // malloc size of next
table[i]->next = 0;
- // table[i]->word = "";
}
// Open dictionary file