mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +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
|
@ -64,8 +64,8 @@ PropDialogHandler(IN LPVOID lpThreadParameter)
|
||||||
{
|
{
|
||||||
WCHAR szBuffer[MAX_PATH];
|
WCHAR szBuffer[MAX_PATH];
|
||||||
|
|
||||||
GetWindowsDirectoryW(szBuffer, MAX_PATH);
|
GetSystemDirectoryW(szBuffer, MAX_PATH);
|
||||||
wcscat(szBuffer, L"\\system32\\console.dll");
|
wcscat(szBuffer, L"\\console.dll");
|
||||||
ConsoleLibrary = LoadLibraryW(szBuffer);
|
ConsoleLibrary = LoadLibraryW(szBuffer);
|
||||||
|
|
||||||
if (ConsoleLibrary == NULL)
|
if (ConsoleLibrary == NULL)
|
||||||
|
|
Loading…
Reference in a new issue