1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +01:00

Minor adjustments

This commit is contained in:
Valentin Radu 2021-11-20 13:42:52 +02:00
parent 93a7f5c0d7
commit 13399e81f1

View File

@ -2446,7 +2446,7 @@ HWND WINAPI explorerframe_SHCreateWorkerWindowHook(
if (dwExStyle == 0x10000 && dwStyle == 0x46000000)
{
#ifdef USE_PRIVATE_INTERFACES
if (bMicaEffectOnTitlebar)
if (bMicaEffectOnTitlebar && result)
{
BOOL value = TRUE;
SetPropW(hWndParent, L"NavBarGlass", HANDLE_FLAG_INHERIT);
@ -5604,7 +5604,6 @@ DWORD Inject(BOOL bIsExplorer)
HMODULE hExtra = LoadLibraryW(wszExtraLibPath);
if (hExtra)
{
printf("[Extra] Found library: %p.\n", hExtra);
FARPROC ep_extra_entrypoint = GetProcAddress(hExtra, "ep_extra_EntryPoint");
if (ep_extra_entrypoint)