hhctrl.ocx: Use stricmp() instead of _strnicmp(..., -1).

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-12-02 12:19:34 +01:00
parent b61cfa8823
commit 810a2f0be2
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ static WCHAR *SearchCHM_File(IStorage *pStorage, const WCHAR *file, const char *
char *text = &content.buf[1];
int textlen = content.len-1;
if(!_strnicmp(node_name.buf, "title", -1))
if(!stricmp(node_name.buf, "title"))
{
int wlen = MultiByteToWideChar(CP_ACP, 0, text, textlen, NULL, 0);
title = heap_alloc((wlen+1)*sizeof(WCHAR));