diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 5989727..2039428 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -55,7 +55,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) wordChar++; } else if (currentlyInWord) - { + { words[word][wordChar] = '\0'; word++; wordChar = 0; diff --git a/Start_Windows/runTests.exe b/Start_Windows/runTests.exe index e643540..c1fae29 100644 Binary files a/Start_Windows/runTests.exe and b/Start_Windows/runTests.exe differ diff --git a/Start_Windows/wordsalad.exe b/Start_Windows/wordsalad.exe index adddaef..3251be4 100644 Binary files a/Start_Windows/wordsalad.exe and b/Start_Windows/wordsalad.exe differ