Skip to content

Commit

Permalink
Fix Log Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marcussacana committed Aug 5, 2018
1 parent d4acbf3 commit 2fcc15b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions SRL/FileWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ private static void LoadConfig() {
}

if (Settings.DecodeFromInput) {
Log("Enabling Character Reloader Decoding From Input...");
Log("Enabling Character Reloader Decoding From Input...", true);
DecodeCharactersFromInput = true;
}

Expand All @@ -257,7 +257,7 @@ private static void LoadConfig() {

if (Settings.NoReload) {
NoReload = true;
Warning("String Injection Disabled by User...");
Warning("String Injection Disabled by User...", true);
}

if (Settings.RemoveViolations) {
Expand Down
8 changes: 4 additions & 4 deletions SRL/Output.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,18 @@ internal static void CheckArguments() {
case "debugstring":
case "debugencoding":
case "encodingtest":
Log("String Deubugger Enabled");
Log("String Deubugger Enabled", true);
LogAll = true;
break;

case "loginput":
case "login":
Log("Input Log Enabled");
Log("Input Log Enabled", true);
LogInput = true;
break;
case "logout":
case "logoutput":
Log("Output Log Enabled");
Log("Output Log Enabled", true);
LogOutput = true;
break;
case "dumptext":
Expand All @@ -201,7 +201,7 @@ internal static void CheckArguments() {
case "detecttext":
case "detecttxt":
Debugging = true;
Log("String Dumping Filter Enabled");
Log("String Dumping Filter Enabled", true);
DumpStrOnly = true;
break;
case "about":
Expand Down
2 changes: 1 addition & 1 deletion SRL/Reloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ internal static string StrMap(string Input, IntPtr InputPtr, bool Native) {
string Str = SimplfyMatch(Input);

if (LogAll || LogInput) {
Log("Input: {0}", false, Input);
Log("Input: {0}", true, Input);
}

if (InCache(Str) && DialogFound) {
Expand Down

0 comments on commit 2fcc15b

Please sign in to comment.