This commit is contained in:
2025-10-28 14:58:00 +01:00
parent 9e3c8e697d
commit 79a20ce714
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
// Wort kopieren und in Großbuchstaben umwandeln
strcpy(words[wordCount], token);
for (int i = 0; words[wordCount][i] != '\0'; i++) {
words[wordCount][i] = toupper((unsigned char)words[wordCount][i]);
words[wordCount][i] = toupper((unsigned char) words[wordCount][i]);
}
wordCount++;
}