mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[KERNEL32]
Use GetSystemDirectoryW for building the path to console.dll svn path=/trunk/; revision=59870
This commit is contained in:
parent
e3a5aaeb41
commit
95ea6a8d77
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ PropDialogHandler(IN LPVOID lpThreadParameter)
|
|||
{
|
||||
WCHAR szBuffer[MAX_PATH];
|
||||
|
||||
GetWindowsDirectoryW(szBuffer, MAX_PATH);
|
||||
wcscat(szBuffer, L"\\system32\\console.dll");
|
||||
GetSystemDirectoryW(szBuffer, MAX_PATH);
|
||||
wcscat(szBuffer, L"\\console.dll");
|
||||
ConsoleLibrary = LoadLibraryW(szBuffer);
|
||||
|
||||
if (ConsoleLibrary == NULL)
|
||||
|
|
Loading…
Reference in a new issue