automated commit by check50 [check50=True]

This commit is contained in:
kukemuna 2024-02-24 23:46:28 +02:00
parent 8d2229e88b
commit fdbdadc478
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ void substitute(string plaintext, string key)
{ {
if (isupper(plaintext[i])) if (isupper(plaintext[i]))
{ {
printf("%c", key[plaintext[i] - 65]); printf("%c", toupper(key[plaintext[i] - 65]));
} }
else else
{ {