Change console class name for Windows compatibility.
Thanks to tonik <spammed(a)fromru.com> for reporting and
providing the correct name.
Fixes bug 462.
Modified: trunk/reactos/subsys/csrss/win32csr/guiconsole.c
_____
Modified: trunk/reactos/subsys/csrss/win32csr/guiconsole.c
--- trunk/reactos/subsys/csrss/win32csr/guiconsole.c 2005-01-08
21:14:54 UTC (rev 12892)
+++ trunk/reactos/subsys/csrss/win32csr/guiconsole.c 2005-01-08
22:08:29 UTC (rev 12893)
@@ -802,7 +802,7 @@
SetWindowLongW(hWnd, GWL_USERDATA, 0);
return 0;
case PM_CREATE_CONSOLE:
- NewWindow = CreateWindowW(L"Win32CsrConsole",
+ NewWindow = CreateWindowW(L"ConsoleWindowClass",
Console->Title.Buffer,
WS_OVERLAPPED | WS_CAPTION |
WS_SYSMENU | WS_MINIMIZEBOX,
CW_USEDEFAULT,
@@ -911,7 +911,7 @@
}
wc.cbSize = sizeof(WNDCLASSEXW);
- wc.lpszClassName = L"Win32CsrConsole";
+ wc.lpszClassName = L"ConsoleWindowClass";
wc.lpfnWndProc = GuiConsoleWndProc;
wc.style = 0;
wc.hInstance = (HINSTANCE) GetModuleHandleW(NULL);
Show replies by date