From 69c047a10cb2f94dc640de4d6b17e6895fa735ff Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 27 Jan 2004 20:11:53 +0000 Subject: [PATCH] Use case insensitive comparison with pseudo console handle names in OpenConsole. --- dlls/kernel/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel/console.c b/dlls/kernel/console.c index aaa012fdb11..a1a2d7912de 100644 --- a/dlls/kernel/console.c +++ b/dlls/kernel/console.c @@ -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 {