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
8d2a2c94
Commit
8d2a2c94
authored
Jul 15, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use _iswctype_l in _iswspace_l function.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ae9c385e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
wcs.c
dlls/msvcrt/wcs.c
+18
-18
No files found.
dlls/msvcrt/wcs.c
View file @
8d2a2c94
...
...
@@ -1913,6 +1913,22 @@ MSVCRT_size_t CDECL MSVCRT_wcrtomb( char *dst, MSVCRT_wchar_t ch, MSVCRT_mbstate
}
/*********************************************************************
* _iswctype_l (MSVCRT.@)
*/
INT
CDECL
MSVCRT__iswctype_l
(
MSVCRT_wchar_t
wc
,
MSVCRT_wctype_t
type
,
MSVCRT__locale_t
locale
)
{
return
(
get_char_typeW
(
wc
)
&
0xffff
)
&
type
;
}
/*********************************************************************
* iswctype (MSVCRT.@)
*/
INT
CDECL
MSVCRT_iswctype
(
MSVCRT_wchar_t
wc
,
MSVCRT_wctype_t
type
)
{
return
(
get_char_typeW
(
wc
)
&
0xfff
)
&
type
;
}
/*********************************************************************
* iswalnum (MSVCRT.@)
*/
INT
CDECL
MSVCRT_iswalnum
(
MSVCRT_wchar_t
wc
)
...
...
@@ -2045,7 +2061,7 @@ INT CDECL MSVCRT_iswpunct( MSVCRT_wchar_t wc )
*/
INT
CDECL
MSVCRT__iswspace_l
(
MSVCRT_wchar_t
wc
,
MSVCRT__locale_t
locale
)
{
return
isspaceW
(
wc
);
return
MSVCRT__iswctype_l
(
wc
,
MSVCRT__SPACE
,
locale
);
}
/*********************************************************************
...
...
@@ -2053,7 +2069,7 @@ INT CDECL MSVCRT__iswspace_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
*/
INT
CDECL
MSVCRT_iswspace
(
MSVCRT_wchar_t
wc
)
{
return
isspaceW
(
wc
);
return
MSVCRT__iswspace_l
(
wc
,
NULL
);
}
/*********************************************************************
...
...
@@ -2089,22 +2105,6 @@ int CDECL MSVCRT__iswxdigit_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
}
/*********************************************************************
* _iswctype_l (MSVCRT.@)
*/
INT
CDECL
MSVCRT__iswctype_l
(
MSVCRT_wchar_t
wc
,
MSVCRT_wctype_t
type
,
MSVCRT__locale_t
locale
)
{
return
(
get_char_typeW
(
wc
)
&
0xffff
)
&
type
;
}
/*********************************************************************
* iswctype (MSVCRT.@)
*/
INT
CDECL
MSVCRT_iswctype
(
MSVCRT_wchar_t
wc
,
MSVCRT_wctype_t
type
)
{
return
(
get_char_typeW
(
wc
)
&
0xfff
)
&
type
;
}
/*********************************************************************
* _iswblank_l (MSVCRT.@)
*/
INT
CDECL
MSVCRT__iswblank_l
(
MSVCRT_wchar_t
wc
,
MSVCRT__locale_t
locale
)
...
...
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