dbghelp: Fix a typo in SymLoadModuleExW that caused the wrong number of characters to be passed to lstrcpynW.
This commit is contained in:
parent
7579145ae1
commit
f48941a2a8
|
@ -555,7 +555,7 @@ DWORD64 WINAPI SymLoadModuleExW(HANDLE hProcess, HANDLE hFile, PCWSTR wImageNam
|
|||
if (wModuleName)
|
||||
module_set_module(module, wModuleName);
|
||||
lstrcpynW(module->module.ImageName, wImageName,
|
||||
sizeof(module->module.ImageName) / sizeof(CHAR));
|
||||
sizeof(module->module.ImageName) / sizeof(WCHAR));
|
||||
|
||||
return module->module.BaseOfImage;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue