summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 22:31:58 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 22:31:58 +0000
commit5fa594858ce76b43ead989baae3cdc6f0e82ebfc (patch)
tree3ac8bc81a86e9c7520e7946f94c898d91e404851
parent36a46d1a7f08e24fc4dedc6cc08d7a6957b4b111 (diff)
Sun, Apr 28, 2024, 3:31 PM -07:00
-rw-r--r--wk5/pset/speller/dictionary.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index 527abff..d199180 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -69,7 +69,10 @@ bool load(const char *dictionary)
strcpy(ptr->word, word);
ptr->next = NULL;
int val = hash(word);
-
+ if (table(val)->next != NULL)
+ {
+
+ }
}
/*