diff --git a/src/MainForm.cs b/src/MainForm.cs index 93f2472e8..a9abcfe54 100644 --- a/src/MainForm.cs +++ b/src/MainForm.cs @@ -38,6 +38,8 @@ namespace Decompiler x += checkBox.Width + 10; } } + collapseCount.Value = Options.CollapseExpression; + reduceCount.Value = Options.ReduceGraph; } public string SourceCode { diff --git a/src/Options.cs b/src/Options.cs index fefe556c6..46ee1769f 100644 --- a/src/Options.cs +++ b/src/Options.cs @@ -4,8 +4,8 @@ namespace Decompiler { public static class Options { - public static int CollapseExpression = int.MaxValue; - public static int ReduceGraph = int.MaxValue; + public static int CollapseExpression = 1000; + public static int ReduceGraph = 1000; public static bool NodeComments = false; public static bool ReduceLoops = true; public static bool ReduceConditonals = true;