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, ...@@ -196,9 +196,9 @@ HANDLE WINAPI OpenConsoleW(LPCWSTR name, DWORD access, LPSECURITY_ATTRIBUTES sa,
BOOL output; BOOL output;
HANDLE ret; HANDLE ret;
if (strcmpW(coninW, name) == 0) if (strcmpiW(coninW, name) == 0)
output = FALSE; output = FALSE;
else if (strcmpW(conoutW, name) == 0) else if (strcmpiW(conoutW, name) == 0)
output = TRUE; output = TRUE;
else 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