This commit is contained in:
Jonas Hofmann 2025-10-30 17:32:44 +01:00
parent 05edd44b1f
commit 7fd01a9155
4 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
}
i++;
} while ((i < MAX_LINE_LEN) && (word < maxWordCount));
} while ((i < MAX_LINE_LEN) || (word < maxWordCount));
return word+1;
}

Binary file not shown.

Binary file not shown.