Module: wine Branch: master Commit: 810a2f0be26a308b5105d5e97bc2a7223962800d URL: https://source.winehq.org/git/wine.git/?a=commit;h=810a2f0be26a308b5105d5e97...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Dec 2 12:19:34 2020 +0100
hhctrl.ocx: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/hhctrl.ocx/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/hhctrl.ocx/search.c b/dlls/hhctrl.ocx/search.c index f9c13a91312..75bbc2e4ba2 100644 --- a/dlls/hhctrl.ocx/search.c +++ b/dlls/hhctrl.ocx/search.c @@ -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));