Use case insensitive comparison with pseudo console handle names in

OpenConsole.
This commit is contained in:
Dmitry Timoshkov 2004-01-27 20:11:53 +00:00 committed by Alexandre Julliard
parent 525ac67945
commit 69c047a10c
1 changed files with 2 additions and 2 deletions

View File

@ -196,9 +196,9 @@ HANDLE WINAPI OpenConsoleW(LPCWSTR name, DWORD access, LPSECURITY_ATTRIBUTES sa,
BOOL output;
HANDLE ret;
if (strcmpW(coninW, name) == 0)
if (strcmpiW(coninW, name) == 0)
output = FALSE;
else if (strcmpW(conoutW, name) == 0)
else if (strcmpiW(conoutW, name) == 0)
output = TRUE;
else
{