made code more variable

This commit is contained in:
Václav Šmejkal 2022-03-07 19:38:27 +01:00
parent 2bd5f9556a
commit 59cbdfa4bd

View File

@ -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