From 59cbdfa4bd9ef2dc8f37d941943044a6c3224e89 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 7 Mar 2022 19:38:27 +0100 Subject: [PATCH] made code more variable --- src/encrypter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encrypter.c b/src/encrypter.c index d8b73d6..b973f74 100644 --- a/src/encrypter.c +++ b/src/encrypter.c @@ -63,9 +63,9 @@ encryptText(char *text, char *keyNew) numberBuffer = i; //CHECK, IF numberBuffer ISN'T GREATER THAN KEY_LENGTH AND CUT UNUSED LENGTH - while (numberBuffer >= 50) + while (numberBuffer >= KEY_LENGTH) { - numberBuffer -= 50; + numberBuffer -= KEY_LENGTH; } //FILL textKeyChain