mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Minor fix in CSR.GetTitle().
svn path=/trunk/; revision=2176
This commit is contained in:
parent
f293bda38a
commit
5a9b7bebbc
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: conio.c,v 1.23 2001/08/14 12:57:16 ea Exp $
|
/* $Id: conio.c,v 1.24 2001/08/14 22:00:21 ea Exp $
|
||||||
*
|
*
|
||||||
* reactos/subsys/csrss/api/conio.c
|
* reactos/subsys/csrss/api/conio.c
|
||||||
*
|
*
|
||||||
|
@ -1412,13 +1412,14 @@ CSR_API(CsrGetTitle)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
HANDLE ConsoleHandle = Request->Data.GetTitleRequest.ConsoleHandle;
|
||||||
|
|
||||||
/* Copy title of the console to the user title buffer */
|
/* Copy title of the console to the user title buffer */
|
||||||
RtlZeroMemory (
|
RtlZeroMemory (
|
||||||
& Reply->Data.GetTitleReply,
|
& Reply->Data.GetTitleReply,
|
||||||
sizeof (CSRSS_GET_TITLE_REPLY)
|
sizeof (CSRSS_GET_TITLE_REPLY)
|
||||||
);
|
);
|
||||||
Reply->Data.GetTitleReply.ConsoleHandle =
|
Reply->Data.GetTitleReply.ConsoleHandle = ConsoleHandle;
|
||||||
Request->Data.GetTitleRequest.ConsoleHandle;
|
|
||||||
Reply->Data.GetTitleReply.Length = Console->Title.Length;
|
Reply->Data.GetTitleReply.Length = Console->Title.Length;
|
||||||
wcscpy (Reply->Data.GetTitleReply.Title, Console->Title.Buffer);
|
wcscpy (Reply->Data.GetTitleReply.Title, Console->Title.Buffer);
|
||||||
Reply->Status = STATUS_SUCCESS;
|
Reply->Status = STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue