From 81e477b8936a6a6b27233e9d54ac5041dfa2742f Mon Sep 17 00:00:00 2001 From: Nils Date: Tue, 4 Nov 2025 10:48:53 +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 0c90d6c..0353aaa 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++;