mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1138070 - Don't use GetModuleHandleA on RtlImageNtHeader. r=dmajor
Landing on CLOSED TREE per KWierso
This commit is contained in:
parent
40ce55dc85
commit
30631639db
@ -105,7 +105,7 @@ patched_RtlImageNtHeader(HMODULE module)
|
|||||||
{
|
{
|
||||||
PIMAGE_NT_HEADERS headers = stub_RtlImageNtHeader(module);
|
PIMAGE_NT_HEADERS headers = stub_RtlImageNtHeader(module);
|
||||||
|
|
||||||
if (module == GetModuleHandleA("msvcr120.dll")) {
|
if (module == GetModuleHandleW(L"msvcr120.dll")) {
|
||||||
PatchModuleImports(module, headers);
|
PatchModuleImports(module, headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user