[ros-diffs] [gvg] 12893: Change console class name for Windows compatibility.

gvg at svn.reactos.com gvg at svn.reactos.com
Sat Jan 8 23:08:31 CET 2005


Change console class name for Windows compatibility.
Thanks to tonik <spammed at 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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050108/3a05026b/attachment.html


More information about the Ros-diffs mailing list