Update dllmain.c

This commit is contained in:
isaak654 2021-06-07 01:15:36 +02:00 committed by GitHub
parent 73fb0c55a7
commit 06e19a605c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -475,11 +475,11 @@ _FX void Dll_InitExeEntry(void)
// force load of UxTheme in a Google Chrome sandbox process
//
// Note: this does not seem to be needed anymore for modern chrome builds, also it breaks the vivaldi browser
// Note: this does not seem to be needed anymore for modern Chrome builds, also it breaks Vivaldi browser
//Custom_Load_UxTheme();
UserEnv_InitVer(Dll_OsBuild >= 7600 ? Dll_KernelBase : Dll_Kernel32); // in KernelBase since win 7
UserEnv_InitVer(Dll_OsBuild >= 7600 ? Dll_KernelBase : Dll_Kernel32); // in KernelBase since Win 7
//
// Windows 8.1: hook UserEnv-related entrypoint in KernelBase