From fdbdadc478624daec6e3879c14afff194727cb18 Mon Sep 17 00:00:00 2001 From: kukemuna Date: Sat, 24 Feb 2024 23:46:28 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- substitution.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substitution.c b/substitution.c index 5129476..ebda538 100644 --- a/substitution.c +++ b/substitution.c @@ -58,7 +58,7 @@ void substitute(string plaintext, string key) { if (isupper(plaintext[i])) { - printf("%c", key[plaintext[i] - 65]); + printf("%c", toupper(key[plaintext[i] - 65])); } else {