From fe176dfaa75ae32d407a9fc23a5dfb4d77a51f5e Mon Sep 17 00:00:00 2001
From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com>
Date: Mon, 29 Apr 2024 03:15:31 +0000
Subject: Sun, Apr 28, 2024, 8:15 PM -07:00

---
 wk5/pset/speller/dictionary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'wk5/pset/speller')

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
-- 
cgit v1.2.3