mirror of
https://github.com/netero1010/EDRSilencer.git
synced 2026-06-08 17:07:11 +00:00
Verion 1.4: bug fixes
This commit is contained in:
@@ -141,7 +141,7 @@ ErrorCode ConvertToNtPath(PCWSTR filePath, wchar_t* ntPathBuffer, size_t bufferS
|
||||
return CUSTOM_FAILED_TO_GET_DOS_DEVICE_NAME;
|
||||
}
|
||||
|
||||
swprintf(ntPathBuffer, bufferSize, L"%S%S", ntDrivePath, filePath + wcslen(driveName));
|
||||
swprintf(ntPathBuffer, bufferSize, L"%ls%ls", ntDrivePath, filePath + wcslen(driveName));
|
||||
|
||||
for (size_t i = 0; ntPathBuffer[i] != L'\0'; ++i) {
|
||||
ntPathBuffer[i] = towlower(ntPathBuffer[i]);
|
||||
|
||||
Reference in New Issue
Block a user