[KERNEL32]
[reactos.git] / reactos / dll / win32 / kernel32 / client / console / init.c
index 55e8d64..d411460 100644 (file)
@@ -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)