From 98bf6583c0b061a8ff0fde2681b489d8c13acbd3 Mon Sep 17 00:00:00 2001 From: kukemuna Date: Wed, 20 Mar 2024 23:25:56 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- dictionary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictionary.c b/dictionary.c index 23dc7d4..aa87819 100644 --- a/dictionary.c +++ b/dictionary.c @@ -32,7 +32,7 @@ bool check(const char *word) // +1 for NUL character char lword[strlen(word) + 1]; - for (int i = 0; i < strlen(lword); i++) + for (int i = 0; i < strlen(word); i++) { lword[i] = tolower((word[i])); }