From 5c620c2d763c50483468e5e4b3a5c91f294935dc Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 11 Dec 2022 16:15:55 +0100 Subject: [PATCH] renamed flags to prevent memory problems --- src/core/lib/flags.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/lib/flags.c b/src/core/lib/flags.c index d501385..fdebe2d 100644 --- a/src/core/lib/flags.c +++ b/src/core/lib/flags.c @@ -28,7 +28,7 @@ int encryptionOperation(int text, int encryptedText); //VARIABLES char encryptionSeparator = '.'; //NOPE > DO NOT TOUCH THIS, USE setEncryptionSeparator instead < unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength instead < -inputFlags flags = DEFAULT_FLAGS; +inputFlags flagsAllah = DEFAULT_FLAGS; //IT IS CALLED flagsAllah CUZ flags CAUSED SOME FUCKING MEMORY PROBLEMS encryptionOperation_type_cb encryptionOperation_cb = encryptionOperation; boolean flagsChanged = 0; //CHANGES TO 1 WHEN U USE setFlags @@ -50,7 +50,7 @@ inputFlags getDefaultFlags(void) inputFlags getFlags(void) { - return flags; + return flagsAllah; } outputFlags noOutput(boolean exitCode) @@ -95,7 +95,7 @@ void setKeyLength(int keyLengthNew) void setFlags(inputFlags newFlags) { - flags = newFlags; + flagsAllah = newFlags; if (!flagsChanged) flagsChanged = 1; }