Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fab4b11b
Commit
fab4b11b
authored
Apr 02, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell.dll16: Don't use strncasecmp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c1f85117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
shell.c
dlls/shell.dll16/shell.c
+2
-1
No files found.
dlls/shell.dll16/shell.c
View file @
fab4b11b
...
...
@@ -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
(
strncase
cmp
(
lpEnv
,
entry
,
l
)
)
{
if
(
_strni
cmp
(
lpEnv
,
entry
,
l
)
)
continue
;
if
(
!*
(
lpEnv
+
l
)
)
return
(
lpEnv
+
l
);
/* empty entry */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment