Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
aa612612
Commit
aa612612
authored
Oct 01, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr60: Fix _mbscoll implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
parent
a887a87a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
mbcs.c
dlls/msvcrt/mbcs.c
+10
-0
No files found.
dlls/msvcrt/mbcs.c
View file @
aa612612
...
@@ -829,7 +829,12 @@ int CDECL _mbsnbicoll(const unsigned char *str1, const unsigned char *str2, MSVC
...
@@ -829,7 +829,12 @@ int CDECL _mbsnbicoll(const unsigned char *str1, const unsigned char *str2, MSVC
*/
*/
int
CDECL
_mbsicoll
(
const
unsigned
char
*
str
,
const
unsigned
char
*
cmp
)
int
CDECL
_mbsicoll
(
const
unsigned
char
*
str
,
const
unsigned
char
*
cmp
)
{
{
#if _MSVCR_VER>=60 && _MSVCR_VER<=71
return
CompareStringA
(
get_mbcinfo
()
->
mblcid
,
NORM_IGNORECASE
,
(
const
char
*
)
str
,
-
1
,
(
const
char
*
)
cmp
,
-
1
)
-
CSTR_EQUAL
;
#else
return
_mbsnbicoll_l
(
str
,
cmp
,
-
1
,
NULL
);
return
_mbsnbicoll_l
(
str
,
cmp
,
-
1
,
NULL
);
#endif
}
}
/*********************************************************************
/*********************************************************************
...
@@ -870,7 +875,12 @@ int CDECL _mbsnbcoll(const unsigned char *str1, const unsigned char *str2, MSVCR
...
@@ -870,7 +875,12 @@ int CDECL _mbsnbcoll(const unsigned char *str1, const unsigned char *str2, MSVCR
*/
*/
int
CDECL
_mbscoll
(
const
unsigned
char
*
str
,
const
unsigned
char
*
cmp
)
int
CDECL
_mbscoll
(
const
unsigned
char
*
str
,
const
unsigned
char
*
cmp
)
{
{
#if _MSVCR_VER>=60 && _MSVCR_VER<=71
return
CompareStringA
(
get_mbcinfo
()
->
mblcid
,
0
,
(
const
char
*
)
str
,
-
1
,
(
const
char
*
)
cmp
,
-
1
)
-
CSTR_EQUAL
;
#else
return
_mbsnbcoll_l
(
str
,
cmp
,
-
1
,
NULL
);
return
_mbsnbcoll_l
(
str
,
cmp
,
-
1
,
NULL
);
#endif
}
}
/*********************************************************************
/*********************************************************************
...
...
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