[PATCH 6/8] [WinHlp32]: window name lookup is supposed to be insensitive
Eric Pouech
eric.pouech at orange.fr
Sat May 30 07:26:52 CDT 2009
A+
---
programs/winhlp32/winhelp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index 9c69d48..e361335 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -261,7 +261,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name)
if (hlpfile)
for (i = 0; i < hlpfile->numWindows; i++)
- if (!strcmp(hlpfile->windows[i].name, name))
+ if (!lstrcmpi(hlpfile->windows[i].name, name))
return &hlpfile->windows[i];
if (strcmp(name, "main") != 0)
More information about the wine-patches
mailing list