Fix line endings in changeset 190ef16a6266

metadata
Edgar Velazquez-Armendariz 2013-02-04 16:32:43 -05:00
parent 01b77d64ee
commit 38349fb575
1 changed files with 3 additions and 3 deletions

View File

@ -47,9 +47,9 @@ FileResolver::FileResolver() {
// Module handle to this DLL. If the function fails it sets handle to NULL. // 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 // In that case GetModuleFileName will get the name of the executable which
// is acceptable soft-failure behavior. // is acceptable soft-failure behavior.
HMODULE handle; HMODULE handle;
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS
| GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT, | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
reinterpret_cast<LPCWSTR>(&dummyModuleFunc), &handle); reinterpret_cast<LPCWSTR>(&dummyModuleFunc), &handle);
// Try to get the path with the default MAX_PATH length (260 chars) // Try to get the path with the default MAX_PATH length (260 chars)