summaryrefslogtreecommitdiff
path: root/wk5/pset
diff options
context:
space:
mode:
Diffstat (limited to 'wk5/pset')
-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