Compare commits

..

No commits in common. "9b54d8913e2103e6bd250fe3698a6e7adb233b62" and "ace90fe687138616ebba06568d7ad9be047da964" have entirely different histories.

View File

@ -59,7 +59,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
//Edge case: If the last word ends on a '\0', right after the last letter
if (wordIndex > 0 && wordcount < maxWordCount) {
word[wordIndex] = '\0';
strcpy(words[wordcount], word);
strcp(words[wordcount], word);
wordcount++;
}