Author: hbelusca
Date: Thu Aug 29 14:31:06 2013
New Revision: 59870
URL:
http://svn.reactos.org/svn/reactos?rev=59870&view=rev
Log:
[KERNEL32]
Use GetSystemDirectoryW for building the path to console.dll
Modified:
trunk/reactos/dll/win32/kernel32/client/console/init.c
Modified: trunk/reactos/dll/win32/kernel32/client/console/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/console/init.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/console/init.c [iso-8859-1] Thu Aug 29
14:31:06 2013
@@ -64,8 +64,8 @@
{
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)