Module: wine Branch: master Commit: 585d4fb742e7a2e6cb1f51d05a06f2226caaf6da URL: https://source.winehq.org/git/wine.git/?a=commit;h=585d4fb742e7a2e6cb1f51d05...
Author: Paul Gofman gofmanp@gmail.com Date: Fri Mar 27 13:25:58 2020 +0300
mshtml: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman gofmanp@gmail.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/nsio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 0201ab5c47..7c8f029b4a 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1180,7 +1180,7 @@ static nsresult NSAPI nsChannel_SetRequestMethod(nsIHttpChannel *iface,
nsACString_GetData(aRequestMethod, &method); for(i=0; i < ARRAY_SIZE(request_method_strings); i++) { - if(!_strnicmp(method, request_method_strings[i], -1)) { + if(!stricmp(method, request_method_strings[i])) { This->request_method = i; return NS_OK; }