winhlp32: Window name lookup is supposed to be insensitive.

This commit is contained in:
Eric Pouech 2009-05-30 14:26:52 +02:00 committed by Alexandre Julliard
parent aba7b3df90
commit a6104304f4
1 changed files with 1 additions and 1 deletions

View File

@ -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)