Build a correct console handle.
Modified: trunk/reactos/subsys/csrss/api/process.c
_____
Modified: trunk/reactos/subsys/csrss/api/process.c
--- trunk/reactos/subsys/csrss/api/process.c 2005-05-30 23:01:37 UTC
(rev 15692)
+++ trunk/reactos/subsys/csrss/api/process.c 2005-05-30 23:22:15 UTC
(rev 15693)
@@ -156,7 +156,7 @@
{
if (pProcessData->HandleTable[c])
{
- CsrReleaseObject(pProcessData, (HANDLE)((c + 1) <<
2));
+ CsrReleaseObject(pProcessData, (HANDLE)(((c + 1) <<
2)|0x3));
}
}
RtlFreeHeap(CsrssApiHeap, 0, pProcessData->HandleTable);
Show replies by date