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
1f38c1ab
Commit
1f38c1ab
authored
Apr 11, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add wcsicmp() inline wrapper.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9b63daca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
string.h
include/msvcrt/string.h
+1
-0
reg.c
programs/reg/reg.c
+1
-1
No files found.
include/msvcrt/string.h
View file @
1f38c1ab
...
...
@@ -147,6 +147,7 @@ static inline char* strupr(char* str) { return _strupr(str); }
static
inline
wchar_t
*
wcsdup
(
const
wchar_t
*
str
)
{
return
_wcsdup
(
str
);
}
static
inline
int
wcsicoll
(
const
wchar_t
*
str1
,
const
wchar_t
*
str2
)
{
return
_wcsicoll
(
str1
,
str2
);
}
static
inline
wchar_t
*
wcslwr
(
wchar_t
*
str
)
{
return
_wcslwr
(
str
);
}
static
inline
int
wcsicmp
(
const
wchar_t
*
s1
,
const
wchar_t
*
s2
)
{
return
_wcsicmp
(
s1
,
s2
);
}
static
inline
int
wcsnicmp
(
const
wchar_t
*
str1
,
const
wchar_t
*
str2
,
size_t
n
)
{
return
_wcsnicmp
(
str1
,
str2
,
n
);
}
static
inline
wchar_t
*
wcsnset
(
wchar_t
*
str
,
wchar_t
c
,
size_t
n
)
{
return
_wcsnset
(
str
,
c
,
n
);
}
static
inline
wchar_t
*
wcsrev
(
wchar_t
*
str
)
{
return
_wcsrev
(
str
);
}
...
...
programs/reg/reg.c
View file @
1f38c1ab
...
...
@@ -230,7 +230,7 @@ static DWORD wchar_get_type(const WCHAR *type_name)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
type_rels
);
i
++
)
{
if
(
!
_
wcsicmp
(
type_rels
[
i
].
name
,
type_name
))
if
(
!
wcsicmp
(
type_rels
[
i
].
name
,
type_name
))
return
type_rels
[
i
].
type
;
}
...
...
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