simplified cleaning returningText in decrypter

you stoopid
This commit is contained in:
Václav Šmejkal 2022-07-19 17:22:12 +02:00
parent f7d8bb052e
commit 5e87e4612d
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -112,11 +112,10 @@ outputFlags decryptText(char *text, char *keyNew)
textKeyChain[i] -= encryptedTextKeyChain[i]; textKeyChain[i] -= encryptedTextKeyChain[i];
} }
//FIX returningText //FIX (CLEAN) returningText
strcpy(returningText, ""); for (int i = 0; i <= textKeyChainLength; i++)
for (int i = 0; i < textKeyChainLength; i++)
{ {
strcat(returningText, " "); returningText[i] = '\0';
} }
//LOAD returningText //LOAD returningText