Commit a6104304 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winhlp32: Window name lookup is supposed to be insensitive.

parent aba7b3df
...@@ -261,7 +261,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name) ...@@ -261,7 +261,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name)
if (hlpfile) if (hlpfile)
for (i = 0; i < hlpfile->numWindows; i++) 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]; return &hlpfile->windows[i];
if (strcmp(name, "main") != 0) if (strcmp(name, "main") != 0)
......
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