Browse Source

Added check to enable legacy menus only on newer builds that have

the new menus as well.
pull/20/head
Valentin Radu 4 years ago
parent
commit
ea42afb5be
  1. 7
      ExplorerPatcher/dllmain.c

7
ExplorerPatcher/dllmain.c

@ -2724,7 +2724,12 @@ __declspec(dllexport) DWORD WINAPI main( @@ -2724,7 +2724,12 @@ __declspec(dllexport) DWORD WINAPI main(
0,
wszSettingsPath
);
if (!bAllowImmersiveContextMenus)
if (!bAllowImmersiveContextMenus &&
rovi.dwMajorVersion >= 10 &&
rovi.dwMinorVersion >= 0 &&
rovi.dwBuildNumber >= 22000 &&
ubr >= 65
)
{
rv = funchook_prepare(
funchook,

Loading…
Cancel
Save