msvcrt: Don't use ispunctW.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2020-07-15 14:06:22 +02:00 committed by Alexandre Julliard
parent f6576c76d9
commit ab678ee097
1 changed files with 2 additions and 2 deletions

View File

@ -2046,7 +2046,7 @@ INT CDECL MSVCRT_iswprint( MSVCRT_wchar_t wc )
*/
INT CDECL MSVCRT__iswpunct_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
{
return ispunctW( wc );
return MSVCRT__iswctype_l( wc, MSVCRT__PUNCT, locale );
}
/*********************************************************************
@ -2054,7 +2054,7 @@ INT CDECL MSVCRT__iswpunct_l( MSVCRT_wchar_t wc, MSVCRT__locale_t locale )
*/
INT CDECL MSVCRT_iswpunct( MSVCRT_wchar_t wc )
{
return ispunctW( wc );
return MSVCRT__iswpunct_l( wc, NULL );
}
/*********************************************************************