Skip to content

Commit

Permalink
Fix Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
marcussacana committed Aug 8, 2019
1 parent fa264dd commit 8c4ed91
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions SRL/FileWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ private static void LoadConfig() {

Log("Intro Injector (ShowWindow) Enabled", true);
}

if (IntroSettings.SetWindowPos) {
HookSetWindowPos = true;

Expand Down
1 change: 1 addition & 0 deletions SRL/Hook/IntroInjector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ static IntPtr hCreateWindowEx(WindowStylesEx dwExStyle, string lpClassName, stri

if (!CreateWindowExWHook.ImportHook)
CreateWindowExWHook.Install();

ShowIntro(Result);
return Result;
}
Expand Down
4 changes: 2 additions & 2 deletions SRL/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// É possível especificar todos os valores ou usar como padrão os Números de Build e da Revisão
// usando o '*' como mostrado abaixo:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.1.0.0")]
[assembly: AssemblyFileVersion("4.1.0.0")]
[assembly: AssemblyVersion("4.2.0.0")]
[assembly: AssemblyFileVersion("4.2.0.0")]
4 changes: 2 additions & 2 deletions SRL/Reloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ internal static void Init() {
}

if (File.Exists(OEDP) && Overlay == null) {
Overlay = new DotNetVM(OEDP);
Overlay = new DotNetVM(File.ReadAllBytes(OEDP));
Log("Overlay Enabled.", true);
}

Expand All @@ -325,7 +325,7 @@ internal static void Init() {
if (Ini.GetConfigStatus("MTL", "TargetLang", IniPath) == Ini.ConfigStatus.Ok) {
SourceLang = Ini.GetConfig("MTL", "SourceLang", IniPath, true);
TargetLang = Ini.GetConfig("MTL", "TargetLang", IniPath, true);
TLIB = new DotNetVM(TLDP);
TLIB = new DotNetVM(File.ReadAllBytes(TLDP));
Log("Machine Translation Enabled", true);
}
}
Expand Down

0 comments on commit 8c4ed91

Please sign in to comment.