Module: wine Branch: master Commit: fab4b11bc22e6f3109ba6fd52f78e33954c80f9f URL: https://source.winehq.org/git/wine.git/?a=commit;h=fab4b11bc22e6f3109ba6fd52...
Author: Piotr Caban piotr@codeweavers.com Date: Tue Apr 2 16:51:32 2019 +0200
shell.dll16: Don't use strncasecmp.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/shell.dll16/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/shell.dll16/shell.c b/dlls/shell.dll16/shell.c index be8ffeb..748db67 100644 --- a/dlls/shell.dll16/shell.c +++ b/dlls/shell.dll16/shell.c @@ -40,6 +40,7 @@ #include "wingdi.h" #include "shlobj.h" #include "shlwapi.h" +#include "winternl.h"
#include "wine/winbase16.h" #include "wine/winuser16.h" @@ -358,7 +359,7 @@ static LPSTR SHELL_FindString(LPSTR lpEnv, LPCSTR entry)
l = strlen(entry); for( ; *lpEnv ; lpEnv+=strlen(lpEnv)+1 ) - { if( strncasecmp(lpEnv, entry, l) ) + { if( _strnicmp(lpEnv, entry, l) ) continue; if( !*(lpEnv+l) ) return (lpEnv + l); /* empty entry */