mirror of https://github.com/me50/kukemuna.git
automated commit by check50 [check50=True]
This commit is contained in:
parent
98bf6583c0
commit
6b08fbe5d8
|
|
@ -32,7 +32,7 @@ bool check(const char *word)
|
||||||
// +1 for NUL character
|
// +1 for NUL character
|
||||||
char lword[strlen(word) + 1];
|
char lword[strlen(word) + 1];
|
||||||
|
|
||||||
for (int i = 0; i < strlen(word); i++)
|
for (int i = 0; i < strlen(word) + 1; i++)
|
||||||
{
|
{
|
||||||
lword[i] = tolower((word[i]));
|
lword[i] = tolower((word[i]));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue