mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 16:22:08 +00:00
[kernel32]
- Remove incorrect null-termination of a string. Thanks to Russel for spotting. See issue #4820 for more details. svn path=/trunk/; revision=43416
This commit is contained in:
parent
417ebeb75f
commit
101f8fcb31
1 changed files with 0 additions and 1 deletions
|
@ -92,7 +92,6 @@ GetDllLoadPath(LPCWSTR lpModule)
|
|||
Pos += GetWindowsDirectoryW(EnvironmentBufferW + Pos, Length - Pos);
|
||||
EnvironmentBufferW[Pos++] = L';';
|
||||
Pos += GetEnvironmentVariableW(L"PATH", EnvironmentBufferW + Pos, Length - Pos);
|
||||
EnvironmentBufferW[Pos] = 0;
|
||||
|
||||
SetLastError(LastError);
|
||||
return EnvironmentBufferW;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue