[NTVDM]: Update the console title only in non-standalone mode.

svn path=/trunk/; revision=67590
This commit is contained in:
Hermès Bélusca-Maïto 2015-05-07 01:44:29 +00:00
parent dcfe21b3c1
commit a3c2a76a7e

View file

@ -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();