From df39903293aae98ad17ffc625440571eb8ddb94a Mon Sep 17 00:00:00 2001 From: Nils Date: Tue, 4 Nov 2025 10:40:34 +0100 Subject: [PATCH] input.c fix --- Start_Windows/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 32257e9..77c996e 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -30,7 +30,7 @@ int readWords(FILE* file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) while (token != NULL && count < maxWordCount) { for (char* p = token; *p; ++p) - (char)toupper((unsigned char)*p); + *p=(char)toupper((unsigned char)*p); strncpy(words[count], token, MAX_WORD_LEN - 1); words[count][MAX_WORD_LEN - 1] = '\0'; count++;