game
This commit is contained in:
@@ -33,7 +33,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
//Speichere das Wort im Array, falls es nicht leer ist
|
||||
if (len > 0){
|
||||
//Wandel das Wort in Großbuchstaben um
|
||||
for (size_t = 0; i < len; i++ ){
|
||||
for (size_t i = 0; i < len; i++ ){
|
||||
token[i] = toupper ((unsigned char)token[i]);
|
||||
}
|
||||
strncpy(words[word_count], token, MAX_WORD_LEN -1);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user