Fix line endings in changeset 190ef16a6266
parent
01b77d64ee
commit
38349fb575
|
@ -47,9 +47,9 @@ FileResolver::FileResolver() {
|
|||
// Module handle to this DLL. If the function fails it sets handle to NULL.
|
||||
// In that case GetModuleFileName will get the name of the executable which
|
||||
// is acceptable soft-failure behavior.
|
||||
HMODULE handle;
|
||||
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
|
||||
| GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
|
||||
HMODULE handle;
|
||||
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
|
||||
| GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
|
||||
reinterpret_cast<LPCWSTR>(&dummyModuleFunc), &handle);
|
||||
|
||||
// Try to get the path with the default MAX_PATH length (260 chars)
|
||||
|
|
Loading…
Reference in New Issue