fixed spielfeldgröße und groß/kleinschreibung
This commit is contained in:
1 parent
61221a5b8d
commit
a48f1b961e
5 files changed
+9
-8
No files matched your search
+2
-2
@@ -27,7 +27,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
|
||||
strncpy(words[count], copy, len);
|
||||
words[count][len] = '\0';
|
||||
count++;
|
||||
|
||||
|
||||
//schaue ob auch alles groß geschrieben ist
|
||||
for(int i = 0; i < len; i++){
|
||||
@@ -36,7 +36,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount)
|
||||
words[count][i] -= 32;
|
||||
}
|
||||
}
|
||||
|
||||
count++;
|
||||
token = strtok(NULL, delimit);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user