diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-29 03:15:31 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-29 03:15:31 +0000 |
commit | fe176dfaa75ae32d407a9fc23a5dfb4d77a51f5e (patch) | |
tree | d1c54aca0c6af3df51a8357ca9cf506c7e8f7647 /wk5/pset/speller | |
parent | 1b991de1d0ba289fe1e175d2d373cb61e3cdeb65 (diff) |
Sun, Apr 28, 2024, 8:15 PM -07:00
Diffstat (limited to 'wk5/pset/speller')
-rw-r--r-- | wk5/pset/speller/dictionary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index 74723ab..ce23728 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -54,7 +54,7 @@ unsigned int hash(const char *word) { val += toupper(word[i]) - 'A'; } - return val %= 26; + return val % 26; } // Loads dictionary into memory, returning true if successful, else false |