kernelbase: Fix comment and trace message in console.

Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Roman Pišl 2020-10-18 12:47:42 +02:00 committed by Alexandre Julliard
parent cb8d58598b
commit c8af17187e
1 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ BOOL WINAPI AllocConsole(void)
memset(&console_si, 0, sizeof(console_si));
console_si.cb = sizeof(console_si);
/* setup a view arguments for wineconsole (it'll use them as default values) */
/* setup a view arguments for conhost (it'll use them as default values) */
if (app_si.dwFlags & STARTF_USECOUNTCHARS)
{
console_si.dwFlags |= STARTF_USECOUNTCHARS;
@ -386,7 +386,7 @@ BOOL WINAPI AllocConsole(void)
if (!init_console_std_handles( !(app_si.dwFlags & STARTF_USESTDHANDLES) )) goto error;
RtlGetCurrentPeb()->ProcessParameters->ConsoleHandle = console;
TRACE( "Started wineconsole pid=%08x tid=%08x\n", pi.dwProcessId, pi.dwThreadId );
TRACE( "Started conhost pid=%08x tid=%08x\n", pi.dwProcessId, pi.dwThreadId );
CloseHandle( server );
RtlLeaveCriticalSection( &console_section );