Bug 1138070 - Don't use GetModuleHandleA on RtlImageNtHeader. r=dmajor

Landing on CLOSED TREE per KWierso
This commit is contained in:
Makoto Kato 2015-03-04 11:09:04 +13:00
parent 40ce55dc85
commit 30631639db

View File

@ -105,7 +105,7 @@ patched_RtlImageNtHeader(HMODULE module)
{
PIMAGE_NT_HEADERS headers = stub_RtlImageNtHeader(module);
if (module == GetModuleHandleA("msvcr120.dll")) {
if (module == GetModuleHandleW(L"msvcr120.dll")) {
PatchModuleImports(module, headers);
}