Taskbar10: Revised the pattern for patching the new IME context menu so that it works on 25951 ^2

This commit is contained in:
Amrsatrio
2023-12-22 20:25:06 +07:00
parent 702b2a76d9
commit 9b68cc0635
+1 -1
View File
@@ -611,7 +611,7 @@ inline BOOL WINAPI PatchContextMenuOfNewMicrosoftIME(BOOL* bFound)
if (!VirtualProtect(match + 4, 1, PAGE_EXECUTE_READWRITE, &dwOldProtect))
return FALSE;
match[6] = 0xEB;
match[4] = 0xEB;
VirtualProtect(match + 4, 1, dwOldProtect, &dwOldProtect);