diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-29 05:09:54 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-29 05:09:54 +0000 |
commit | 5d18fc9956f4da618c4c0ef3d37c0fe70d063d76 (patch) | |
tree | 2218c3e1d64a3361c372173d68356c2d1d9bb704 /wk5/pset | |
parent | ca538dd83cad27f3a19eb394d95e8aaa2dcd548c (diff) |
Sun, Apr 28, 2024, 10:09 PM -07:00
Diffstat (limited to 'wk5/pset')
-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 3b65191..51ab6d7 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -53,7 +53,7 @@ unsigned int hash(const char *word) // { // val += (word[i] % 26); // } - return (toupper(word[0]) % 26); + return (tolower(word[0]) % 26); } // Loads dictionary into memory, returning true if successful, else false |