diff options
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-rw-r--r-- | wk5/pset/speller/dictionary.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index 6e934d9..9cb70dc 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -36,8 +36,7 @@ unsigned int hash(const char *word) bool load(const char *dictionary) { // TODO - fopen(); - return false; + return fopen(dictionary, "r"); } // Returns number of words in dictionary if loaded, else 0 if not yet loaded |