1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-02-17 19:09:25 +01:00

Fixed option to disable Office keys according to #661#discussioncomment-2001798 (the shortcut Ctrl+Alt+Shift+Win is unassigned as well)

This commit is contained in:
Valentin Radu 2022-01-20 02:09:07 +02:00
parent ce115e0585
commit a5faef1d1d

View File

@ -6295,7 +6295,8 @@ BOOL explorer_RegisterHotkeyHook(HWND hWnd, int id, UINT fsModifiers, UINT vk)
vk == office_hotkeys[6] ||
vk == office_hotkeys[7] ||
vk == office_hotkeys[8] ||
vk == office_hotkeys[9]))
vk == office_hotkeys[9] ||
!vk))
{
SetLastError(ERROR_HOTKEY_ALREADY_REGISTERED);
return FALSE;