[KERNEL32] Fix BaseDefaultPath containing extra '.'

This commit is contained in:
Mark Jansen 2022-05-16 12:34:40 +02:00
parent a5fa4891e5
commit f10d40f912
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -174,7 +174,7 @@ DllMain(HANDLE hDll,
/* Construct the default path (using the static buffer) */ /* Construct the default path (using the static buffer) */
Status = RtlStringCbPrintfW(BaseDefaultPathBuffer, Status = RtlStringCbPrintfW(BaseDefaultPathBuffer,
sizeof(BaseDefaultPathBuffer), sizeof(BaseDefaultPathBuffer),
L".;%wZ;%wZ\\system;%wZ;", L"%wZ;%wZ\\system;%wZ;",
&BaseWindowsSystemDirectory, &BaseWindowsSystemDirectory,
&BaseWindowsDirectory, &BaseWindowsDirectory,
&BaseWindowsDirectory); &BaseWindowsDirectory);