Commit 69c047a1 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Use case insensitive comparison with pseudo console handle names in

OpenConsole.
parent 525ac679
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment