Use case insensitive comparison with preudo console handle names in OpenConsole
Dmitry Timoshkov
dmitry at baikal.ru
Tue Jan 27 09:27:28 CST 2004
Hello,
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Use case insensitive comparison with preudo console handle names
in OpenConsole.
--- cvs/hq/wine/dlls/kernel/console.c 2003-12-13 16:27:56.000000000 +0800
+++ wine/dlls/kernel/console.c 2004-01-27 23:15:27.000000000 +0800
@@ -196,9 +196,9 @@ HANDLE WINAPI OpenConsoleW(LPCWSTR name,
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
{
More information about the wine-patches
mailing list