created flagsChanged boolean

what the fuck do you think it does, genie
This commit is contained in:
Václav Šmejkal 2022-12-10 16:13:50 +01:00
parent cb67024dea
commit c83759dcba
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -30,6 +30,7 @@ char encryptionSeparator = '.'; //NOPE > DO NOT TOUCH THIS, USE setEncryptio
unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength instead <
inputFlags flags = DEFAULT_FLAGS;
encryptionOperation_type_cb encryptionOperation_cb = encryptionOperation;
boolean flagsChanged = 0; //CHANGES TO 1 WHEN U USE setFlags
//GETTERS
char getEncryptionSeparator()
@ -90,6 +91,8 @@ void setKeyLength(int keyLengthNew)
void setFlags(inputFlags newFlags)
{
flags = newFlags;
if (!flagsChanged) flagsChanged = 1;
}
void setEncryptionOperation(encryptionOperation_type_cb newEncryptionOperation)