mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTVDM]: Update the console title only in non-standalone mode.
svn path=/trunk/; revision=67590
This commit is contained in:
parent
dcfe21b3c1
commit
a3c2a76a7e
1 changed files with 2 additions and 0 deletions
|
@ -641,9 +641,11 @@ DWORD DosStartProcess(IN LPCSTR ExecutablePath,
|
|||
|
||||
if (Result != ERROR_SUCCESS) goto Quit;
|
||||
|
||||
#ifndef STANDALONE
|
||||
/* Update console title if we run in a separate console */
|
||||
if (SessionId != 0)
|
||||
SetConsoleTitleA(ExecutablePath);
|
||||
#endif
|
||||
|
||||
/* Attach to the console */
|
||||
ConsoleAttach();
|
||||
|
|
Loading…
Reference in a new issue