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
927a9a5a
Commit
927a9a5a
authored
Oct 20, 2022
by
Bartosz Kosiorek
Committed by
Alexandre Julliard
Oct 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix error handling for _mbscmp_l.
parent
eee55c35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mbcs.c
dlls/msvcrt/mbcs.c
+2
-1
No files found.
dlls/msvcrt/mbcs.c
View file @
927a9a5a
...
...
@@ -982,7 +982,8 @@ int CDECL _mbscmp_l(const unsigned char* str, const unsigned char* cmp, _locale_
{
pthreadmbcinfo
mbcinfo
;
if
(
!
str
||
!
cmp
)
return
INT_MAX
;
if
(
!
MSVCRT_CHECK_PMT
(
str
&&
cmp
))
return
_NLSCMPERROR
;
mbcinfo
=
locale
?
locale
->
mbcinfo
:
get_mbcinfo
();
...
...
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