From 19d0e9c1704b187240c20f332c1e36b556a0565b Mon Sep 17 00:00:00 2001 From: = Date: Wed, 5 Nov 2025 20:39:14 +0100 Subject: [PATCH] fixed strcp to strpy in input.c --- Start_Linux/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Start_Linux/input.c b/Start_Linux/input.c index c0ed163..370928f 100644 --- a/Start_Linux/input.c +++ b/Start_Linux/input.c @@ -59,7 +59,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) //Edge case: If the last word ends on a '\0', right after the last letter if (wordIndex > 0 && wordcount < maxWordCount) { word[wordIndex] = '\0'; - strcp(words[wordcount], word); + strcpy(words[wordcount], word); wordcount++; }