https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f10d40f9122b926bf01b5…
commit f10d40f9122b926bf01b5409a6d3c3d9d06806c3
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Mon May 16 12:34:40 2022 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Tue Sep 6 21:09:38 2022 +0200
[KERNEL32] Fix BaseDefaultPath containing extra '.'
---
dll/win32/kernel32/client/dllmain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/kernel32/client/dllmain.c b/dll/win32/kernel32/client/dllmain.c
index a6720cd78a8..fe173bb10d8 100644
--- a/dll/win32/kernel32/client/dllmain.c
+++ b/dll/win32/kernel32/client/dllmain.c
@@ -174,7 +174,7 @@ DllMain(HANDLE hDll,
/* Construct the default path (using the static buffer) */
Status = RtlStringCbPrintfW(BaseDefaultPathBuffer,
sizeof(BaseDefaultPathBuffer),
- L".;%wZ;%wZ\\system;%wZ;",
+ L"%wZ;%wZ\\system;%wZ;",
&BaseWindowsSystemDirectory,
&BaseWindowsDirectory,
&BaseWindowsDirectory);