hhctrl.ocx: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b61cfa8823
commit
810a2f0be2
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue