diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 0353aaa..6fc4a26 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) - 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++; @@ -41,5 +41,5 @@ int readWords(FILE* file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) if (shouldClose)fclose(file); - return(int)count; + return (int)count; }